CAIN-42 CAIN Studio

API reference · schema

Body_analyze_counterfactual_api_v1_counterfactual_post

6 fields · used by 0 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
original_decision_idstring or nullOriginal decision ID to analyze
original_evidence_idstring or nullEvidence ID for original decision
original_chain_idstring or nullChain/trajectory ID to reconstruct
tenantstring or null
intervention_type requiredstringType of intervention
intervention_detailobjectIntervention parameters

Smallest valid example

{
  "intervention_type": "intervention-type"
}

JSON Schema

Show the raw definition
{
  "properties": {
    "original_decision_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Original Decision Id",
      "description": "Original decision ID to analyze"
    },
    "original_evidence_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Original Evidence Id",
      "description": "Evidence ID for original decision"
    },
    "original_chain_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Original Chain Id",
      "description": "Chain/trajectory ID to reconstruct"
    },
    "tenant": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tenant"
    },
    "intervention_type": {
      "type": "string",
      "title": "Intervention Type",
      "description": "Type of intervention"
    },
    "intervention_detail": {
      "additionalProperties": true,
      "type": "object",
      "title": "Intervention Detail",
      "description": "Intervention parameters"
    }
  },
  "type": "object",
  "required": [
    "intervention_type"
  ],
  "title": "Body_analyze_counterfactual_api_v1_counterfactual_post"
}

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