Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.abliteration.ai/llms.txt

Use this file to discover all available pages before exploring further.

To send a request through Policy Gateway, point your client at https://api.abliteration.ai/policy/v1 instead of /v1. Every request made with that key is resolved to a project, evaluated against your policy, and audited to your configured connector.

Proxy the request

Point your client at abliteration.ai’s policy surface instead of the compat surface:
client = OpenAI(
    base_url="https://api.abliteration.ai/policy/v1",
    api_key=os.environ["ABLIT_KEY"],
)
Every request made with that key is resolved to a project → policy, evaluated, and audited. See policy endpoints for the full surface and the optional headers (X-Policy-Project, X-Policy-Target, X-Policy-User).

Reading decisions on the client

  • Non-streaming: the response body includes a policy field alongside the upstream response.
  • Streaming: every SSE frame includes a policy field. See streaming policy metadata.
  • Policy log: every decision is emitted to your configured connector.
Last modified on May 3, 2026