CAIN-42 CAIN Studio

API reference · schema

RIGRegisterAgentRequest

6 fields · used by 0 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
agent_id requiredstring
public_key_b64 requiredstring
allowed_actions requiredarray of string
resource_scopes requiredarray of string
parent_agent_idstring or null
runtime_digeststringdefault ""

Smallest valid example

{
  "agent_id": "agent-id",
  "public_key_b64": "public-key-b64",
  "allowed_actions": [
    "allowed-actions"
  ],
  "resource_scopes": [
    "resource-scopes"
  ],
  "runtime_digest": ""
}

JSON Schema

Show the raw definition
{
  "properties": {
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "public_key_b64": {
      "type": "string",
      "title": "Public Key B64"
    },
    "allowed_actions": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Allowed Actions"
    },
    "resource_scopes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Resource Scopes"
    },
    "parent_agent_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Parent Agent Id"
    },
    "runtime_digest": {
      "type": "string",
      "title": "Runtime Digest",
      "default": ""
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "public_key_b64",
    "allowed_actions",
    "resource_scopes"
  ],
  "title": "RIGRegisterAgentRequest"
}

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