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 infoGET /usage— Credit balanceGET /version— Engine version
Compliance
POST /compliance/check— Run compliance checkPOST /compliance/check-image— Image rights clearance
Agents
GET /agents— List available agentsPOST /agents/{agentId}— Invoke single agent
Jobs
GET /compliance/jobs/{jobId}— Poll statusGET /compliance/jobs/{jobId}/trace— Agent traceGET /compliance/jobs/{jobId}/stream— Resume SSE
Reports
GET /reports/{reportId}— Get reportPOST /reports/{reportId}/replay— Replay check
Webhooks
GET /webhooks— List registered webhooksPOST /webhooks— Register webhookDELETE /webhooks/{webhookId}— Remove webhookGET /webhooks/deliveries— Delivery log
Observability
GET /logs— Request historyGET /policies/sources— Available sourcesGET /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.