API reference · schema
RIGConsumeTokenRequest
8 fields · used by 0 operations
Last reviewed 2026-11-06
Fields
| Field | Type | Meaning |
|---|---|---|
token_id required | string | |
claiming_agent_id required | string | |
attempted_action required | string | |
target_resource required | string | |
presentation | object or null | |
request_hash | string | default "" |
audience | string | default "" |
runtime_digest | string or null |
Smallest valid example
{
"token_id": "token-id",
"claiming_agent_id": "claiming-agent-id",
"attempted_action": "attempted-action",
"target_resource": "target-resource",
"request_hash": "",
"audience": ""
}JSON Schema
Show the raw definition
{
"properties": {
"token_id": {
"type": "string",
"title": "Token Id"
},
"claiming_agent_id": {
"type": "string",
"title": "Claiming Agent Id"
},
"attempted_action": {
"type": "string",
"title": "Attempted Action"
},
"target_resource": {
"type": "string",
"title": "Target Resource"
},
"presentation": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Presentation"
},
"request_hash": {
"type": "string",
"title": "Request Hash",
"default": ""
},
"audience": {
"type": "string",
"title": "Audience",
"default": ""
},
"runtime_digest": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Runtime Digest"
}
},
"type": "object",
"required": [
"token_id",
"claiming_agent_id",
"attempted_action",
"target_resource"
],
"title": "RIGConsumeTokenRequest"
}Try CAIN-42 on your own agents
Create a free account and every new account starts with a 30-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