Overview
The ZeroDrift Enforcement API enforces regulations, company policies, and security controls on content and communications. Every result is a verdict. Pass. Rewrite. 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 Results until the job is
doneorfailed
Policy
Import a policy and ZeroDrift extracts enforceable rules. Review, activate, train an adapter in Training Studio, then enforce against it.- 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
- Start adapter training from the activated import
- Poll training status until the adapter succeeds
- Enforce with the import ID in
validation_scope.imports
POST /api/policies/rules and PATCH /api/policies/rules/{rule_id}.
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 Generate a client SDK to produce a typed Python or TypeScript client from it.
Rate Limits
Contact support@zerodrift.ai for higher limits.

