Add or remove enum field values
Adds or removes options on enum (single- and multi-select) fields for one object type. The request carries exactly one item in data; each field in meta names an append or remove operation. Removing an option also clears it from every record that holds it, and the response returns once the records are updated. To modify several object types, send separate requests.
Deprecated
API key authentication. Send your key in the Authorization header as: api-key <your-api-key>.
In: header
Path Parameters
The workspace slug — the {slug} segment of your Clarify workspace URL.
Query Parameters
When true, suppresses in-app and Slack notifications for this mutation and batches its live updates, so open views can lag by up to 20 seconds.
Header Parameters
The API version for this request. Send 2026-10 to get the behavior documented here. Omit it to use your API key's version, which this header can raise but not lower.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/workspaces/string/schemas" \ -H "clarify-version: 2026-10" \ -H "Content-Type: application/json" \ -d '{ "data": [ { "type": "schema-properties", "id": "https://getclarify.ai/schemas/entities/c_project", "attributes": { "status": { "enum": [ "Planning", "In progress", "Complete", "On hold" ], "xClarifyEnumMetadata": { "Planning": { "id": "planning", "rank": 0, "color": "blue" }, "In progress": { "id": "in_progress", "rank": 1, "color": "amber" }, "Complete": { "id": "complete", "rank": 2, "color": "green" }, "On hold": { "id": "on_hold", "rank": 3, "color": "red" } } } }, "meta": { "status": { "enum": "append" } } } ] }'{ "data": [ { "id": "https://getclarify.ai/schemas/entities/c_project", "type": "schema-validation-result", "attributes": { "isValid": true } } ]}List objects
Returns every object type in the workspace as a JSON:API list, in one page. Each item is the object exactly as `GET /workspaces/{workspace}/schemas/objects/{object}` returns it: the document `PATCH /workspaces/{workspace}/schemas/objects/{object}` patches over. Unlike `GET /workspaces/{workspace}/schemas`, it leaves out the shared `core` base definitions.
Change object rules
Changes the conditional-required rules of an object type with a JSON Merge Patch (RFC 7396), sent as `application/merge-patch+json` or `application/json`. The body is a patch over `GET /workspaces/{workspace}/schemas/objects/{object}/rules`: a key is a rule id, an object value adds the rule or merges into it, and `null` removes it. The change applies immediately and returns 204 with no body. A rule id is 1 to 64 letters, digits, underscores, or hyphens.