{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"4fb7cfce-c445-4495-a6e2-e2d25a61e651","name":"api.abliteration.ai","description":"# abliteration.ai API\n\n## Overview\n\nabliteration.ai is an enterprise LLM provider and governance gateway. This collection covers the full public API surface: the OpenAI-compatible /v1/chat/completions and /v1/responses endpoints, the Anthropic-compatible /v1/messages endpoint, and the Policy Gateway for enterprise policy control and audit.\n\nAll three inference endpoints share the same base URL, authentication scheme, model identifier, credit-metering fields, and rate-limit rules. The only differences are the request/response envelope and SDK compatibility.\n\n## Base URL\n\nhttps://api.abliteration.ai/v1\n\nAll endpoints are served from this base URL. Set the baseUrl collection variable (or the {{baseUrl}} environment variable) to this value to run every request in the collection without editing URLs individually.\n\n## Authentication\n\nEvery request must include credentials in the Authorization header as a Bearer token. Three credential types are supported:\n\nAPI key — keys begin with ak_. Send as Authorization: Bearer ak_YOUR_KEY. Obtain from the abliteration.ai dashboard. Supports 120 requests per 60-second window.\n\nJWT — short-lived token obtained from POST /api/auth/login. Send as Authorization: Bearer . Supports 30 requests per 60-second window.\n\nAnonymous free tier — omit the Authorization header and set X-Free-Tier: 1 (for /v1/messages) or X-Free-Tier: true (for /v1/responses and /v1/chat/completions). Limited to 1 free request per device. Does not consume credits.\n\nSet the apiKey collection variable to your ak_... key. The collection-level Authorization tab is pre-configured to inject it as a Bearer token on every request.\n\n## Endpoints in this Collection\n\n### POST /v1/chat/completions — OpenAI Chat Completions\n\nOpenAI-compatible chat completions. Drop-in replacement for OpenAI clients: change base_url to [https://api.abliteration.ai/v1](https://api.abliteration.ai/v1) and swap your API key. Supports streaming (stream: true), vision/multimodal content arrays, and the full OpenAI message format. Works with the OpenAI Python SDK, Node.js SDK, LangChain, LlamaIndex, Vercel AI SDK, and any other OpenAI-compatible client.\n\n### POST /v1/responses — OpenAI Responses API\n\nOpenAI Responses API-compatible endpoint. Accepts either a plain string input or a structured Responses-format input array with multimodal parts (input_text, input_image). Supports tool definitions, tool_choice, instructions (system-style), streaming via SSE (response.created, response.output_text.delta, response.completed events), and the flagged_categories moderation field. Use with the OpenAI Python/Node SDK via client.responses.create(), or with Codex CLI by setting base_url to https://api.abliteration.ai/v1.\n\n### POST /v1/messages — Anthropic Messages API\n\nAnthropic Messages API-compatible endpoint. Drop-in replacement for Anthropic SDK clients: set base_url to [https://api.abliteration.ai](https://api.abliteration.ai) and swap your key. Accepts the Anthropic messages array format (role: user/assistant, content as string or content-block array for multimodal inputs), system prompt, max_tokens, temperature, and stream. Returns the Anthropic response envelope (id, type, role, content blocks, stop_reason, stop_sequence, usage) plus abliteration.ai credit-metering fields. Also supports POST /v1/messages/count_tokens for pre-call budget checks. Use with the Anthropic Python SDK, Claude Code (set ANTHROPIC_BASE_URL + ANTHROPIC_AUTH_TOKEN), or OpenClaw.\n\n## Rate Limits & Credit Metering\n\nLimits are enforced per user in a rolling 60-second window. API key callers: 120 req/60s. JWT/UI callers: 30 req/60s. Exceeding the limit returns HTTP 429 with a Retry-After header. The rate limiter is fail-open — over-limit requests are allowed but logged.\n\nCredits are billed on total tokens (input + output). Credits per call: ceil(total_tokens / 500), minimum 1 credit. Pricing: \\~$5 per 1M tokens. Anonymous free-tier calls do not consume credits. Insufficient credits return HTTP 402. Every response includes remaining_credits, estimated_credits_used, and estimated_cost_usd fields.\n\n## Common Errors\n\n400 Bad Request — Malformed JSON, missing required fields (model, messages/input), or invalid field values. Check that model is \"abliterated-model\" and the message array is non-empty.\n\n401 Unauthorized — Missing or invalid Bearer token. Verify your ak_ key is correct and sent in the Authorization header.\n\n402 Insufficient Credits — Credit balance is zero. Purchase credits from the abliteration.ai pricing page or dashboard.\n\n429 Rate Limit — Exceeded 120 req/min (API key) or 30 req/min (JWT). Back off exponentially and respect the Retry-After header.\n\n502 Bad Gateway — Upstream model temporarily unavailable. Retry after a short delay.\n\n504 Gateway Timeout — Model did not respond in time. Try a shorter prompt or retry.\n\n## Resources & Links\n\nDeveloper docs: https://abliteration.ai/docs\n\nOpenAI Responses API reference: https://abliteration.ai/docs/openai-responses-api\n\nAnthropic Messages API reference: https://abliteration.ai/docs/anthropic-messages-api\n\nPolicy Gateway guide: https://abliteration.ai/docs/policy-gateway-backend-guide\n\nOpenAPI spec: https://api.abliteration.ai/.well-known/openapi.json","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":true,"owner":"51220842","team":12540274,"collectionId":"4fb7cfce-c445-4495-a6e2-e2d25a61e651","publishedId":"2sBXVcmCop","public":true,"publicUrl":"https://documenter-api.postman.tech/view/51220842/2sBXVcmCop","privateUrl":"https://go.postman.co/documentation/51220842-4fb7cfce-c445-4495-a6e2-e2d25a61e651","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"Integrate uncensored models via API. Full /v1/chat/completions parity for developers who need unrestricted models. Usage-based token pricing with no monthly seats—own your data and keep every request private."},{"name":"title","value":"Uncensored Chat &amp; LLM API — OpenAI-compatible, zero data retention"}],"appearance":{"default":"light","themes":[{"name":"dark","logo":"https://content.pstmn.io/0b747246-702f-4b25-9962-6e2ea1d5831e/YW5kcm9pZC1jaHJvbWUtNTEyeDUxMi5wbmc=","colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":"https://content.pstmn.io/0b747246-702f-4b25-9962-6e2ea1d5831e/YW5kcm9pZC1jaHJvbWUtNTEyeDUxMi5wbmc=","colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.11.4","publishDate":"2026-01-04T03:32:49.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"Uncensored Chat &amp; LLM API — OpenAI-compatible, zero data retention","description":"Integrate uncensored models via API. Full /v1/chat/completions parity for developers who need unrestricted models. Usage-based token pricing with no monthly seats—own your data and keep every request private."},"logos":{"logoLight":"https://content.pstmn.io/0b747246-702f-4b25-9962-6e2ea1d5831e/YW5kcm9pZC1jaHJvbWUtNTEyeDUxMi5wbmc=","logoDark":"https://content.pstmn.io/0b747246-702f-4b25-9962-6e2ea1d5831e/YW5kcm9pZC1jaHJvbWUtNTEyeDUxMi5wbmc="}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/4ca33f6cb8ad8fc58830d60421ff1a6c2c07d3db0fc41d4abbe7a0e70f747122","favicon":"https://res.cloudinary.com/postman/image/upload/v1767499052/team/6e7e753c59b3864c97b79c5107a73bd8.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2sBXVcmCop"}