API reference · schema
TrustActionRequest
10 fields · used by 0 operations
Last reviewed 2026-10-02
Fields
| Field | Type | Meaning |
|---|---|---|
trajectory_id | string or null | |
agent_id | string or null | |
identity_id | string or null | |
action required | string | |
resource | string or null | |
tool | string or null | |
intent | string or null | |
policy_id | string or null | |
risk_score | number or null | default 0.1 |
cost_cents | integer or null | default 0 |
Smallest valid example
{
"action": "action",
"risk_score": 0.1,
"cost_cents": 0
}JSON Schema
Show the raw definition
{
"properties": {
"trajectory_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Trajectory Id"
},
"agent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Agent Id"
},
"identity_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Identity Id"
},
"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"
},
"policy_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Policy Id"
},
"risk_score": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Risk Score",
"default": 0.1
},
"cost_cents": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Cost Cents",
"default": 0
}
},
"type": "object",
"required": [
"action"
],
"title": "TrustActionRequest"
}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