CAIN-42 CAIN Studio

API reference · schema

ZKProofRequest

5 fields · used by 0 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
trajectory_id requiredstring
agent_id requiredstring
circuit_namestringdefault "CAIN-TRAJECTORY-CIRCUIT-V1"
trace_steps requiredarray of ZKCircuitInput
privacy_flagsarray 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

ZKCircuitInput

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