Skip to main content
The ZeroDrift Enforcement API is published as an OpenAPI 3.0 document. Use it to generate clients, import the API into Postman or similar tools, or give a language model a single file that describes every publicly documented endpoint. For a walkthrough in Python and TypeScript, see SDKs.

openapi.json

Open or download the OpenAPI 3.0 spec (JSON).
ZeroDrift serves this file at /openapi.json on the docs site. After deploy, that URL is:
Fetch it with:
ZeroDrift also lists the spec in the auto-generated llms.txt index, which AI tools use to discover pages and API files. This spec covers enforcement, policy, activity, Training Studio, and rule packs.

Operations

Authentication

Every operation uses the x-api-key header. See Introduction for base URL, rate limits, and workflows.