CAIN-42 CAIN Studio

API reference · schema

SpeculativeEvaluateRequest

3 fields · used by 0 operations

Last reviewed 2026-10-03

Fields

FieldTypeMeaning
agent_id requiredstring
current_stateobjectdefault {}
candidate_branches requiredarray of object

Smallest valid example

{
  "agent_id": "agent-id",
  "current_state": {},
  "candidate_branches": [
    {}
  ]
}

JSON Schema

Show the raw definition
{
  "properties": {
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "current_state": {
      "additionalProperties": true,
      "type": "object",
      "title": "Current State",
      "default": {}
    },
    "candidate_branches": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Candidate Branches"
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "candidate_branches"
  ],
  "title": "SpeculativeEvaluateRequest"
}

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