API reference · schema
DelegateReq
10 fields · used by 0 operations
Last reviewed 2026-10-03
Fields
| Field | Type | Meaning |
|---|---|---|
token required | string | max length 64 |
chain required | array of object | min items 1 · max items 8 |
holder | string | max length 16 · default "agent" |
subject | string | max length 16 · default "sub" |
resource | string or null | max length 120 |
actions | array of string or null | max items 8 |
ttl | integer or null | min 1.0 · max 900.0 |
audience | string or null | max length 120 |
single_use | boolean | default false |
pop | boolean | default false |
Smallest valid example
{
"token": "token",
"chain": [
{}
],
"holder": "agent",
"subject": "sub",
"single_use": false,
"pop": false
}JSON Schema
Show the raw definition
{
"properties": {
"token": {
"type": "string",
"maxLength": 64,
"title": "Token"
},
"chain": {
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array",
"maxItems": 8,
"minItems": 1,
"title": "Chain"
},
"holder": {
"type": "string",
"maxLength": 16,
"title": "Holder",
"default": "agent"
},
"subject": {
"type": "string",
"maxLength": 16,
"title": "Subject",
"default": "sub"
},
"resource": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
],
"title": "Resource"
},
"actions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array",
"maxItems": 8
},
{
"type": "null"
}
],
"title": "Actions"
},
"ttl": {
"anyOf": [
{
"type": "integer",
"maximum": 900.0,
"minimum": 1.0
},
{
"type": "null"
}
],
"title": "Ttl"
},
"audience": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
],
"title": "Audience"
},
"single_use": {
"type": "boolean",
"title": "Single Use",
"default": false
},
"pop": {
"type": "boolean",
"title": "Pop",
"default": false
}
},
"type": "object",
"required": [
"token",
"chain"
],
"title": "DelegateReq"
}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