CAIN-42 CAIN Studio

API reference · schema

PermitIn

6 fields · used by 0 operations

Last reviewed 2026-11-13

Fields

FieldTypeMeaning
agent requiredstring
agent_sig requiredstring
command requiredobject
world_versioninteger or null
ttl_snumberdefault 5.0
approval_refstring or null

Smallest valid example

{
  "agent": "agent",
  "agent_sig": "agent-sig",
  "command": {},
  "ttl_s": 5.0
}

JSON Schema

Show the raw definition
{
  "properties": {
    "agent": {
      "type": "string",
      "title": "Agent"
    },
    "agent_sig": {
      "type": "string",
      "title": "Agent Sig"
    },
    "command": {
      "additionalProperties": true,
      "type": "object",
      "title": "Command"
    },
    "world_version": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "World Version"
    },
    "ttl_s": {
      "type": "number",
      "title": "Ttl S",
      "default": 5.0
    },
    "approval_ref": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Approval Ref"
    }
  },
  "type": "object",
  "required": [
    "agent",
    "agent_sig",
    "command"
  ],
  "title": "PermitIn"
}

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 30-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