API reference · schema
RecordEventRequest
7 fields · used by 1 operations
Last reviewed 2026-10-02
Fields
| Field | Type | Meaning |
|---|---|---|
action required | string | |
resource | string or null | |
tool | string or null | |
intent | string or null | |
decision | string or null | default "allow" |
risk_score | number or null | default 0.1 |
execution_status | string or null | default "executed" |
Smallest valid example
{
"action": "action",
"decision": "allow",
"risk_score": 0.1,
"execution_status": "executed"
}Used by 1 operation
| POST | /fabric/trajectories/{trajectory_id}/events | Record Event To Trajectory |
JSON Schema
Show the raw definition
{
"properties": {
"action": {
"type": "string",
"title": "Action"
},
"resource": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Resource"
},
"tool": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Tool"
},
"intent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Intent"
},
"decision": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Decision",
"default": "allow"
},
"risk_score": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Risk Score",
"default": 0.1
},
"execution_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Execution Status",
"default": "executed"
}
},
"type": "object",
"required": [
"action"
],
"title": "RecordEventRequest"
}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