CAIN-42 CAIN Studio

API reference · schema

ZKCircuitInput

6 fields · used by 0 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
step_index requiredinteger
action_type requiredstring
resource_id requiredstring
risk_score requirednumber
authorized_ceilingnumberdefault 0.85
memory_modified_bytesintegerdefault 0

Smallest valid example

{
  "step_index": 1,
  "action_type": "action-type",
  "resource_id": "resource-id",
  "risk_score": 1.0,
  "authorized_ceiling": 0.85,
  "memory_modified_bytes": 0
}

JSON Schema

Show the raw definition
{
  "properties": {
    "step_index": {
      "type": "integer",
      "title": "Step Index"
    },
    "action_type": {
      "type": "string",
      "title": "Action Type"
    },
    "resource_id": {
      "type": "string",
      "title": "Resource Id"
    },
    "risk_score": {
      "type": "number",
      "title": "Risk Score"
    },
    "authorized_ceiling": {
      "type": "number",
      "title": "Authorized Ceiling",
      "default": 0.85
    },
    "memory_modified_bytes": {
      "type": "integer",
      "title": "Memory Modified Bytes",
      "default": 0
    }
  },
  "type": "object",
  "required": [
    "step_index",
    "action_type",
    "resource_id",
    "risk_score"
  ],
  "title": "ZKCircuitInput"
}

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