API reference · schema
CounterfactualRequest
4 fields · used by 0 operations
Last reviewed 2026-10-02
Fields
| Field | Type | Meaning |
|---|---|---|
tenant | string | default "demo" |
agent required | string | |
action required | string | |
hypothetical_repeats | integer | min 1.0 · max 1000.0 · default 1 |
Smallest valid example
{
"tenant": "demo",
"agent": "agent",
"action": "action",
"hypothetical_repeats": 1
}JSON Schema
Show the raw definition
{
"properties": {
"tenant": {
"type": "string",
"title": "Tenant",
"default": "demo"
},
"agent": {
"type": "string",
"title": "Agent"
},
"action": {
"type": "string",
"title": "Action"
},
"hypothetical_repeats": {
"type": "integer",
"maximum": 1000.0,
"minimum": 1.0,
"title": "Hypothetical Repeats",
"default": 1
}
},
"type": "object",
"required": [
"agent",
"action"
],
"title": "CounterfactualRequest"
}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