API reference · schema
RedTeamBody
3 fields · used by 0 operations
Last reviewed 2026-11-06
The red-team input. Contents are checked by keystone.redteam.validate (fail closed, 422 naming the problem).
Fields
| Field | Type | Meaning |
|---|---|---|
policy required | object | |
must_allow | array of object | default [] |
must_deny | array of object | default [] |
Smallest valid example
{
"policy": {},
"must_allow": [],
"must_deny": []
}JSON Schema
Show the raw definition
{
"properties": {
"policy": {
"additionalProperties": true,
"type": "object",
"title": "Policy"
},
"must_allow": {
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array",
"title": "Must Allow",
"default": []
},
"must_deny": {
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array",
"title": "Must Deny",
"default": []
}
},
"additionalProperties": false,
"type": "object",
"required": [
"policy"
],
"title": "RedTeamBody",
"description": "The red-team input. Contents are checked by keystone.redteam.validate (fail closed, 422 naming the problem)."
}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