Overview
The ZeroDrift Enforcement API enforces regulations, company policies, and security controls on content and communications. Every result is a verdict. Pass. Fix. Block. Escalate. The API returns the verdict; Guard applies it inline.Authentication
All API endpoints require authentication via API Key in the request header.
Your Enforcement API key is provisioned when your account is created.
Quick Start
Enforcement runs in two steps. Send content and get a job ID. Poll for the verdict.- Send content with Enforce Content — the response returns a
job_id - Poll Get Verdict until the job is
completedorfailed
Policy
Import a policy and ZeroDrift extracts enforceable rules. Review, activate, then enforce. Training Studio is optional and Flagship-only (model_engine: "anchor_3_0"). On Max (anchor_3_0_max), skip training and
pass the import in validation_scope.imports. See Choose a model
and Pricing.
- Upload a policy document (PDF, DOCX, or plain text), or sync one from a connected MCP source
- Poll until AI rule extraction completes
- Review or simulate the rules, then activate them
- Enforce with the import ID in
validation_scope.importsandmodel_engineset toanchor_3_0(Flagship) oranchor_3_0_max(Max) - Optionally on Flagship, start adapter training and poll training status until the adapter succeeds. Training does not change whether activated rules run.
POST /api/policies/rules and PATCH /api/policies/rules/{rule_id}.
Untrained custom rules run on anchor_3_0_max. See
Enforce Content.
Activity
OpenAPI specification
A machine-readable OpenAPI 3.0 document of the public API is available at/openapi.json. See OpenAPI specification for the operations it covers, and SDKs to produce a typed Python or TypeScript client from it.
Rate Limits
See Errors for
429 handling.
Contact support@zerodrift.ai for higher limits.

