CAIN-42 CAIN Studio

API reference · schema

MandateStep

7 fields · used by 0 operations

Last reviewed 2026-10-11

Fields

FieldTypeMeaning
cartany
labelstring or nullmax length 120
agent_idstring or nullmax length 128
sign_asstringprincipal | attacker_key | unregistered_principal
default "principal"
tamperobject or nullFields changed AFTER signing
clock_offset_snumbermin 0.0 · max 315360000.0 · default 0
revoke_beforebooleandefault 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