Run Your First Check
End to end in five minutes: get an API key, check a draft an agent has prepared, read the decision. The same call works for a customer notice, an advice letter, a promotion, a KYC message or ad copy.1. Get your API key
Sign up at developers.zebratruth.ai, choose the industries your workspace operates in, and create an API key.Test keys (
zt_test_...) return deterministic sandbox responses and consume no credits. Use them for development and integration testing.2. Validate your key
Response
3. Check a draft before it goes out
A US advisory agent has drafted an investment recommendation for a retail client. Submit it with the review scope that applies and say what kind of artifact it is.Response (trimmed)
decision is what the agent acts on: PUBLISH proceeds, HOLD routes to a person, BLOCK stops. decisionReasons lists every rule that produced it. agentsRun records which specialists ran and how each finished, which together with the findings is the audit record.
jurisdictions and platforms must be within the set your workspace subscribed to during onboarding; anything outside it returns 403. platforms is required on every request even when the artifact is not published to a platform. reviewScopes applies to workspaces on the financial-services industry; omit it elsewhere.4. Check a document instead
Send a PDF or Word file as a multipartdocument part. It is extracted server-side and checked exactly like text.
POST /v1/compliance/documents/extract with the same document part. Extraction is not billed.
5. Choose how you want the answer
Set client timeouts to at least 150 seconds for
sync. See Streaming Integration and Async and Webhook Execution.
Images and video
Images go toPOST /v1/compliance/check-image as a multipart image part and return synchronously with findings located by bounding box. Video is a three-step asynchronous flow: request an upload URL, upload the bytes, submit the check, then poll for timestamped findings. Both are covered in Images, Documents and Video and the video guide.
Next steps
Text and document checks
Every request field, response mode and error code.
Compliance agents
The specialists by industry, the review scopes, and how to read
agentsRun.Interpreting reports
Decisions, scores, severities, and how findings cite their evidence.
LLM skill installation
Give your own agents the ZebraTruth skill so they can run checks autonomously.