API reference · schema
OutcomeRecordRequest
17 fields · used by 0 operations
Last reviewed 2026-10-03
Fields
| Field | Type | Meaning |
|---|---|---|
tenant | string | default "demo" |
expectation_id required | string | |
decision_id required | string | |
execution_id required | string | |
actual_outcome | string | default "success" |
actual_risk_score | number | default 0.1 |
actual_resource_impact | object | default {} |
actual_trajectory_steps | integer | default 1 |
actual_trajectory_transitions | array of string | default [] |
actual_authorization_state | string | default "ALLOW" |
actual_side_effects | array of string | default [] |
actual_duration_ms | number | default 48.0 |
actual_cost_cents | number | default 0.01 |
trace_id | string or null | |
evidence_ids | array of string or null | |
observed_facts | array of string or null | |
inferred_explanations | array of string or null |
Smallest valid example
{
"tenant": "demo",
"expectation_id": "expectation-id",
"decision_id": "decision-id",
"execution_id": "execution-id",
"actual_outcome": "success",
"actual_risk_score": 0.1,
"actual_resource_impact": {},
"actual_trajectory_steps": 1,
"actual_trajectory_transitions": [],
"actual_authorization_state": "ALLOW",
"actual_side_effects": [],
"actual_duration_ms": 48.0,
"actual_cost_cents": 0.01
}JSON Schema
Show the raw definition
{
"properties": {
"tenant": {
"type": "string",
"title": "Tenant",
"default": "demo"
},
"expectation_id": {
"type": "string",
"title": "Expectation Id"
},
"decision_id": {
"type": "string",
"title": "Decision Id"
},
"execution_id": {
"type": "string",
"title": "Execution Id"
},
"actual_outcome": {
"type": "string",
"title": "Actual Outcome",
"default": "success"
},
"actual_risk_score": {
"type": "number",
"title": "Actual Risk Score",
"default": 0.1
},
"actual_resource_impact": {
"additionalProperties": true,
"type": "object",
"title": "Actual Resource Impact",
"default": {}
},
"actual_trajectory_steps": {
"type": "integer",
"title": "Actual Trajectory Steps",
"default": 1
},
"actual_trajectory_transitions": {
"items": {
"type": "string"
},
"type": "array",
"title": "Actual Trajectory Transitions",
"default": []
},
"actual_authorization_state": {
"type": "string",
"title": "Actual Authorization State",
"default": "ALLOW"
},
"actual_side_effects": {
"items": {
"type": "string"
},
"type": "array",
"title": "Actual Side Effects",
"default": []
},
"actual_duration_ms": {
"type": "number",
"title": "Actual Duration Ms",
"default": 48.0
},
"actual_cost_cents": {
"type": "number",
"title": "Actual Cost Cents",
"default": 0.01
},
"trace_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Trace Id"
},
"evidence_ids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Evidence Ids"
},
"observed_facts": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Observed Facts"
},
"inferred_explanations": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Inferred Explanations"
}
},
"type": "object",
"required": [
"expectation_id",
"decision_id",
"execution_id"
],
"title": "OutcomeRecordRequest"
}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