Skip to main content
The Python SDK is a thin client over three HTTPS endpoints: one per model, and one that chains them. Anything the SDK does, you can do with a POST. Each endpoint takes an optional config for the stages it runs: {"votes"} on /audit, {"max_attempts"} on /fix, and {"audit": {...}, "fix": {...}, "reaudit": {...}} on /refine. See Core concepts.

Base URL

Authentication

Send your API key as a bearer token. Keys are created on your profile page.

The sample shape

Every element of data is a JSON object with a task_type. Unknown keys on a multiple-choice sample are passthrough metadata and come back untouched.
Responses carry the samples back under audited_data, fixed_data or refined_data, with counts, cost_usd, input_tokens and output_tokens.

Errors

Limits

Up to 100 samples per request and 100 requests per minute per key. Pricing is token-based with a $0.01 minimum per request; see Pricing.
The endpoint pages in this section are generated from the service’s OpenAPI specification, so field names, defaults and ranges match what the server enforces.
Last modified on September 18, 2026