CAIN-42 CAIN Studio

API reference · schema

RIGMintTokenRequest

5 fields · used by 0 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
agent_id requiredstring
allowed_action requiredstring
target_resource requiredstring
parent_agent_idstring or null
max_ttl_secondsintegerdefault 30

Smallest valid example

{
  "agent_id": "agent-id",
  "allowed_action": "allowed-action",
  "target_resource": "target-resource",
  "max_ttl_seconds": 30
}

JSON Schema

Show the raw definition
{
  "properties": {
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "allowed_action": {
      "type": "string",
      "title": "Allowed Action"
    },
    "target_resource": {
      "type": "string",
      "title": "Target Resource"
    },
    "parent_agent_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Parent Agent Id"
    },
    "max_ttl_seconds": {
      "type": "integer",
      "title": "Max Ttl Seconds",
      "default": 30
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "allowed_action",
    "target_resource"
  ],
  "title": "RIGMintTokenRequest"
}

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