CAIN-42 CAIN Studio

API reference · schema

IdentityReq

7 fields · used by 0 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
agent_id requiredstring
agent_public_key requiredstring
organization requiredstring
tenant requiredstring
capabilitiesarray of stringdefault []
authority_scopeobjectdefault {}
ttl_secondsnumberdefault 3600.0

Smallest valid example

{
  "agent_id": "agent-id",
  "agent_public_key": "agent-public-key",
  "organization": "organization",
  "tenant": "tenant",
  "capabilities": [],
  "authority_scope": {},
  "ttl_seconds": 3600.0
}

JSON Schema

Show the raw definition
{
  "properties": {
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "agent_public_key": {
      "type": "string",
      "title": "Agent Public Key"
    },
    "organization": {
      "type": "string",
      "title": "Organization"
    },
    "tenant": {
      "type": "string",
      "title": "Tenant"
    },
    "capabilities": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Capabilities",
      "default": []
    },
    "authority_scope": {
      "additionalProperties": true,
      "type": "object",
      "title": "Authority Scope",
      "default": {}
    },
    "ttl_seconds": {
      "type": "number",
      "title": "Ttl Seconds",
      "default": 3600.0
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "agent_public_key",
    "organization",
    "tenant"
  ],
  "title": "IdentityReq"
}

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