> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zerodrift.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> ZeroDrift Validation API Documentation

## Overview

<Warning>
  **Preview:** The ZeroDrift API and this documentation are in preview. Endpoints and response formats may change before general availability.
</Warning>

The ZeroDrift Validation API enables compliance validation of financial documents and communications. Submit documents for automated regulatory compliance checks against configurable rule packs.

## Authentication

All API endpoints require authentication via API Key in the request header.

| Header      | Description            |
| ----------- | ---------------------- |
| `x-api-key` | Your ZeroDrift API key |

Your validation API key is provisioned when your account is created.

```bash theme={null}
curl "https://api.zerodrift.ai/api/rulepacks/" \
  -H "x-api-key: YOUR_API_KEY"
```

## Quick Start

Validate content in two calls:

```
POST /api/v3/content/validate  →  GET /api/v3/jobs/{job_id}
```

1. Submit content with [Validate Content](/api-reference/validate/validate-content) — the response returns a `job_id`
2. Poll [Get Validation Results](/api-reference/validate/get-results) until the job is `done` or `failed`

### Custom Policy Rules

Import your organization's compliance policies and extract enforceable rules:

```
POST /api/policies/import  →  GET /api/policies/import/{id}  →  POST /api/policies/import/{id}/activate
```

1. Upload a policy document (PDF, DOCX, or plain text)
2. Poll until AI rule extraction completes
3. Review and activate rules — they'll run on all future validations

You can also create and edit custom rules directly via
`POST /api/policies/rules` and `PATCH /api/policies/rules/{rule_id}`.

### Activity Center

```
GET /api/activities  →  GET /api/activities/{activity_id}
```

List and inspect validation activity for your account (30-day max window).

## OpenAPI specification

A machine-readable OpenAPI 3.0 document of the public API is available at [`/openapi.json`](/openapi.json). See [OpenAPI specification](/api-reference/openapi) for the operations it covers and how to fetch it.

## Rate Limits

| Tier     | Requests/Second | Burst |
| -------- | --------------- | ----- |
| Standard | 10              | 50    |

Contact [support@zerodrift.ai](mailto:support@zerodrift.ai) for higher limits.

## Support

For API support or to request higher rate limits, contact: **[support@zerodrift.ai](mailto:support@zerodrift.ai)**

For data handling and retention, see [Data Retention](/data-retention).
