CAIN-42 CAIN Studio

API reference · schema

HallucinationCheckRequest

4 fields · used by 1 operations

Last reviewed 2026-10-02

Fields

FieldTypeMeaning
samples requiredarray of stringmin items 2 · max items 50
prompt_idstringdefault ""
agent_idstring or null
max_disagreementnumber or nullmin 0.0 · max 1.0

Smallest valid example

{
  "samples": [
    "samples"
  ],
  "prompt_id": ""
}

Used by 1 operation

POST/fabric/guard/hallucination/checkCheck Hallucination

JSON Schema

Show the raw definition
{
  "properties": {
    "samples": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 50,
      "minItems": 2,
      "title": "Samples"
    },
    "prompt_id": {
      "type": "string",
      "title": "Prompt Id",
      "default": ""
    },
    "agent_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Id"
    },
    "max_disagreement": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 1.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Disagreement"
    }
  },
  "type": "object",
  "required": [
    "samples"
  ],
  "title": "HallucinationCheckRequest"
}

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