API reference · schema
PolicyReq
3 fields · used by 0 operations
Last reviewed 2026-10-02
Fields
| Field | Type | Meaning |
|---|---|---|
token required | string | max length 64 |
mode | string | max length 8 · default "shadow" |
policy | object or null |
Smallest valid example
{
"token": "token",
"mode": "shadow"
}JSON Schema
Show the raw definition
{
"properties": {
"token": {
"type": "string",
"maxLength": 64,
"title": "Token"
},
"mode": {
"type": "string",
"maxLength": 8,
"title": "Mode",
"default": "shadow"
},
"policy": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Policy"
}
},
"type": "object",
"required": [
"token"
],
"title": "PolicyReq"
}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