API reference · schema
MandateStep
7 fields · used by 0 operations
Last reviewed 2026-10-11
Fields
| Field | Type | Meaning |
|---|---|---|
cart | any | |
label | string or null | max length 120 |
agent_id | string or null | max length 128 |
sign_as | string | principal | attacker_key | unregistered_principal default "principal" |
tamper | object or null | Fields changed AFTER signing |
clock_offset_s | number | min 0.0 · max 315360000.0 · default 0 |
revoke_before | boolean | default false |
Smallest valid example
{
"sign_as": "principal",
"clock_offset_s": 0,
"revoke_before": false
}JSON Schema
Show the raw definition
{
"properties": {
"cart": {
"title": "Cart"
},
"label": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
],
"title": "Label"
},
"agent_id": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "null"
}
],
"title": "Agent Id"
},
"sign_as": {
"type": "string",
"title": "Sign As",
"description": "principal | attacker_key | unregistered_principal",
"default": "principal"
},
"tamper": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Tamper",
"description": "Fields changed AFTER signing"
},
"clock_offset_s": {
"type": "number",
"maximum": 315360000.0,
"minimum": 0.0,
"title": "Clock Offset S",
"default": 0
},
"revoke_before": {
"type": "boolean",
"title": "Revoke Before",
"default": false
}
},
"type": "object",
"title": "MandateStep"
}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