Skip to main content

API Reference

Base URL: https://api.zebratruth.ai/v1 All endpoints require authentication via Authorization: Bearer {api_key}. All mutating endpoints (POST, DELETE) require an Idempotency-Key header.

Endpoint Groups

Authentication

  • GET /whoami — Validate key, tenant info
  • GET /usage — Credit balance
  • GET /version — Engine version

Compliance

  • POST /compliance/check — Run compliance check
  • POST /compliance/check-image — Image rights clearance

Agents

  • GET /agents — List available agents
  • POST /agents/{agentId} — Invoke single agent

Jobs

  • GET /compliance/jobs/{jobId} — Poll status
  • GET /compliance/jobs/{jobId}/trace — Agent trace
  • GET /compliance/jobs/{jobId}/stream — Resume SSE

Reports

  • GET /reports/{reportId} — Get report
  • POST /reports/{reportId}/replay — Replay check

Webhooks

  • GET /webhooks — List registered webhooks
  • POST /webhooks — Register webhook
  • DELETE /webhooks/{webhookId} — Remove webhook
  • GET /webhooks/deliveries — Delivery log

Observability

  • GET /logs — Request history
  • GET /policies/sources — Available sources
  • GET /policies/status — Activation status
The API reference pages below are auto-generated from the OpenAPI spec. Each endpoint includes request/response schemas and a playground for testing.