API reference · schema
PermitIn
6 fields · used by 0 operations
Last reviewed 2026-11-13
Fields
| Field | Type | Meaning |
|---|---|---|
agent required | string | |
agent_sig required | string | |
command required | object | |
world_version | integer or null | |
ttl_s | number | default 5.0 |
approval_ref | string 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