API reference · schema
ZKProofRequest
5 fields · used by 0 operations
Last reviewed 2026-10-03
Fields
| Field | Type | Meaning |
|---|---|---|
trajectory_id required | string | |
agent_id required | string | |
circuit_name | string | default "CAIN-TRAJECTORY-CIRCUIT-V1" |
trace_steps required | array of ZKCircuitInput | |
privacy_flags | array of string |
Smallest valid example
{
"trajectory_id": "trajectory-id",
"agent_id": "agent-id",
"circuit_name": "CAIN-TRAJECTORY-CIRCUIT-V1",
"trace_steps": [
{
"step_index": 1,
"action_type": "action-type",
"resource_id": "resource-id",
"risk_score": 1.0,
"authorized_ceiling": 0.85,
"memory_modified_bytes": 0
}
]
}Nested schemas
JSON Schema
Show the raw definition
{
"properties": {
"trajectory_id": {
"type": "string",
"title": "Trajectory Id"
},
"agent_id": {
"type": "string",
"title": "Agent Id"
},
"circuit_name": {
"type": "string",
"title": "Circuit Name",
"default": "CAIN-TRAJECTORY-CIRCUIT-V1"
},
"trace_steps": {
"items": {
"$ref": "#/components/schemas/ZKCircuitInput"
},
"type": "array",
"title": "Trace Steps"
},
"privacy_flags": {
"items": {
"type": "string"
},
"type": "array",
"title": "Privacy Flags"
}
},
"type": "object",
"required": [
"trajectory_id",
"agent_id",
"trace_steps"
],
"title": "ZKProofRequest"
}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