ClarifyAPI
Schemas

List object rules

Returns the conditional-required rules of an object type as a JSON:API resource. Each key of attributes is a rule id and each value is the rule without its id.

GET
/workspaces/{workspace}/schemas/objects/{object}/rules
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-11 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/rules" \  -H "clarify-version: 2026-11"
{  "data": {    "type": "schema-rules",    "id": "c_project",    "attributes": {      "status-with-company": {        "if": {          "required": [            "company_id"          ]        },        "then": {          "required": [            "status"          ]        }      }    }  }}