DraftFilterDeveloper API

Public v1 API

DraftFilter Developer Docs

API-key-authenticated endpoints for queued score and rewrite jobs. Public `is_ai` values are percentages of AI-like text: 0 is 0% AI-like, 100 is 100% AI-like.

Base URLhttps://api.draftfilter.com

These docs cover the public customer API-key-authenticated v1 API for DraftFilter

Detection. The OpenAPI contract is the source of truth: openapi/draftfilter-api.v1.yaml.

Base URL:

text
https://api.draftfilter.com

The public API contains only /v1/* score, upload, rewrite, and shared scan routes. Dashboard routes under /dashboard/* and worker routes under /internal/* are unsupported internal implementation details for the web app and backend workers. They are intentionally omitted from the public OpenAPI contract.

Public is_ai fields are percentages of AI-like text: 0 means 0% AI-like, and 100 means 100% AI-like. Lower is_ai is less AI-like.

Data Retention And Support

DraftFilter retains all text submitted to the service, including web scanner submissions, anonymous scans, signed-in dashboard traffic, and API requests. We use retained text and related metadata to operate, secure, measure, and improve AI detection and rewrite quality.

This applies to synchronous scan calls, uploaded files, extracted file text, queued score jobs, rewrite jobs, anonymous browser scans, dashboard traffic, examples, and API client integrations. To request deletion of submitted text or account data, email support@draftfilter.com with enough detail to identify the account, API key, job, scan, upload, or rewrite.

Pages

Examples

The runnable Python client example is available on the examples page. It targets the local emulator API by default, can be pointed at production with a dashboard-created API key, and is checked with uv run df-examples-check.