CAIN-42 CAIN Studio

API reference · schema

DelegationCreateRequest

5 fields · used by 1 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
delegate_id requiredstringIdentity ID of the delegate
capabilities requiredarray of stringCapabilities to delegate
min items 1
constraintsobject or null
ttl_secondsintegerDelegation TTL in seconds
default 3600
max_depthintegerMaximum delegation chain depth
default 3

Smallest valid example

{
  "delegate_id": "delegate-id",
  "capabilities": [
    "capabilities"
  ],
  "ttl_seconds": 3600,
  "max_depth": 3
}

Used by 1 operation

POST/fabric/identity/{identity_id}/delegateCreate Delegation

JSON Schema

Show the raw definition
{
  "properties": {
    "delegate_id": {
      "type": "string",
      "title": "Delegate Id",
      "description": "Identity ID of the delegate"
    },
    "capabilities": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "minItems": 1,
      "title": "Capabilities",
      "description": "Capabilities to delegate"
    },
    "constraints": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Constraints"
    },
    "ttl_seconds": {
      "type": "integer",
      "title": "Ttl Seconds",
      "description": "Delegation TTL in seconds",
      "default": 3600
    },
    "max_depth": {
      "type": "integer",
      "title": "Max Depth",
      "description": "Maximum delegation chain depth",
      "default": 3
    }
  },
  "type": "object",
  "required": [
    "delegate_id",
    "capabilities"
  ],
  "title": "DelegationCreateRequest"
}

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