Preview docs. Hallucination Guard is the only live endpoint today.

The rest of the API surface ships through the rest of 2026. Join the waitlist to be first in line and shape what we build first.

Getting started

Error reference

Every error response is a JSON object with a stable type field. Branch on type, not on code or message.

Response shape

JSON
{
  "tk-key">"error": {
    "tk-key">"type": "invalid_request",
    "tk-key">"message": "sources must be a non-empty array",
    "tk-key">"detail": { "tk-key">"field": "sources" },
    "tk-key">"request_id": "req_8c3..."
  }
}

Codes

HTTPtypeMeaning
400invalid_requestBody validation failed. The error.detail field names which parameter is wrong.
401missing_authAuthorization header missing or malformed. Send Bearer <key>.
401invalid_keyKey was rejected. Likely revoked, rotated, or never existed.
403feature_not_in_planKey is valid but your tier doesn't include this endpoint. Upgrade or use a different endpoint.
403key_environment_mismatchTest key sent to a live endpoint or vice versa. Use the right key for the env.
404resource_not_foundAn ID you referenced (profile_id, schema_id, transcript_id) doesn't exist for your project.
409conflictConcurrent write to the same resource. Retry with the latest version.
422domain_unsupportedHallucination Guard: domain isn't one of legal / financial / insurance / healthcare.
422schema_validation_failedCalculator Engine: schema has cycles, missing line refs, or invalid formulas.
429rate_limit_exceededBurst or monthly cap hit. Honour Retry-After. See /docs/rate-limits.
500internal_errorServer-side fault. Idempotent retries are safe; the error.request_id helps support diagnose.
502upstream_unavailableA model or data provider behind the API is unavailable. Retry with backoff.
504timeoutRequest didn't complete inside the time budget. Retry; see endpoint-specific timeout guidance.

Retry guidance

5xx errors and rate_limit_exceeded are safe to retry with exponential backoff. 4xx errors other than 429 should not be retried. Fix the request first.