CAIN-42 CAIN Studio

API reference · schema

AuthorityCreate

11 fields · used by 1 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
identity_id requiredstringmin length 1
role requiredstringmin length 1
identity_typestringdefault "user"
scopeobject or null
can_approvebooleandefault true
can_delegatebooleandefault false
can_overridebooleandefault false
max_approval_amount_centsnumber or null
max_budget_centsnumber or null
budget_idstring or null
expires_atstring or null

Smallest valid example

{
  "identity_id": "identity-id",
  "role": "role",
  "identity_type": "user",
  "can_approve": true,
  "can_delegate": false,
  "can_override": false
}

Used by 1 operation

POST/fabric/governance/authoritiesCreate Authority

JSON Schema

Show the raw definition
{
  "properties": {
    "identity_id": {
      "type": "string",
      "minLength": 1,
      "title": "Identity Id"
    },
    "role": {
      "type": "string",
      "minLength": 1,
      "title": "Role"
    },
    "identity_type": {
      "type": "string",
      "title": "Identity Type",
      "default": "user"
    },
    "scope": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scope"
    },
    "can_approve": {
      "type": "boolean",
      "title": "Can Approve",
      "default": true
    },
    "can_delegate": {
      "type": "boolean",
      "title": "Can Delegate",
      "default": false
    },
    "can_override": {
      "type": "boolean",
      "title": "Can Override",
      "default": false
    },
    "max_approval_amount_cents": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Approval Amount Cents"
    },
    "max_budget_cents": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Budget Cents"
    },
    "budget_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Budget Id"
    },
    "expires_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expires At"
    }
  },
  "type": "object",
  "required": [
    "identity_id",
    "role"
  ],
  "title": "AuthorityCreate"
}

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.

Create a free account →  ·  Try the sandbox  ·  See the whole ecosystem