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