CAIN-42 CAIN Studio

API reference · schema

TrajectoryStep

7 fields · used by 1 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
index requiredinteger
tool requiredstring
argsobject
costnumberdefault 0.0
risk_tierstringdefault "low"
resourcestring or null
depends_onarray of integer

Smallest valid example

{
  "index": 1,
  "tool": "tool",
  "cost": 0.0,
  "risk_tier": "low"
}

Used by 1 operation

POST/fabric/eval/trajectory/gradeGrade Trajectory

JSON Schema

Show the raw definition
{
  "properties": {
    "index": {
      "type": "integer",
      "title": "Index"
    },
    "tool": {
      "type": "string",
      "title": "Tool"
    },
    "args": {
      "additionalProperties": true,
      "type": "object",
      "title": "Args"
    },
    "cost": {
      "type": "number",
      "title": "Cost",
      "default": 0.0
    },
    "risk_tier": {
      "type": "string",
      "title": "Risk Tier",
      "default": "low"
    },
    "resource": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Resource"
    },
    "depends_on": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "title": "Depends On"
    }
  },
  "type": "object",
  "required": [
    "index",
    "tool"
  ],
  "title": "TrajectoryStep"
}

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