ClarifyAPI
Schemas

Get an object schema

Returns one object type as a JSON:API resource, the same item GET /workspaces/{workspace}/schemas lists for it. It is the document PATCH /workspaces/{workspace}/schemas/objects/{object} accepts: send back the parts you change.

GET
/workspaces/{workspace}/schemas/objects/{object}
Authorization<token>

API key authentication. Send your key in the Authorization header as: api-key <your-api-key>.

In: header

Path Parameters

workspace*string

The workspace slug — the {slug} segment of your Clarify workspace URL.

object*string

The object type: a built-in entity (person, company, deal, …) or a custom object (c_*).

Header Parameters

clarify-version?string

The API version for this request. Send 2026-01 to get the behavior documented here. Omit it to use your API key's version, which this header can raise but not lower.

Response Body

application/json

curl -X GET "https://example.com/workspaces/string/schemas/objects/string" \  -H "clarify-version: 2026-01"
{  "data": {    "type": "schema",    "id": "https://getclarify.ai/schemas/entities/c_project",    "attributes": {      "$schema": "https://json-schema.org/draft/2020-12/clarify",      "$id": "https://getclarify.ai/schemas/entities/c_project",      "title": "Project",      "type": "object",      "xClarifyNamespace": "objects",      "xClarifyLabel": {        "singular": "Project",        "plural": "Projects"      },      "xClarifyAIDescription": "A customer project tracked alongside deals and companies.",      "properties": {        "name": {          "type": "string",          "title": "Name",          "xClarifyPrimary": true        },        "status": {          "type": [            "string",            "null"          ],          "title": "Status",          "enum": [            "Planning",            "In progress",            "Complete"          ]        },        "company_id": {          "type": [            "string",            "null"          ],          "title": "Company",          "xClarifyRelationship": {            "kind": "many-to-one",            "entity": "company",            "field": "projects"          }        }      }    }  }}