Skip to main content
The API follows the OpenAI chat completions format. If you have existing code that calls OpenAI, you can point it at dottxt by changing base_url and api_key. See the migration guide for details. This documentation covers the OpenAI-compatible chat/completions API surface. If an SDK defaults to the newer OpenAI Responses API, configure it to use chat completions instead.

Base URL

https://api.dottxt.ai/v1

Required headers

Structured output request

Pass your JSON Schema in response_format
The schema is compiled and enforced:
Response
name is guaranteed non-empty via minLength. email matches the pattern. role is not in required, so the model may omit it entirely when the input doesn’t contain a job title. See endpoint-specific details in: For migration and integration workflows, see Integrations overview.

Inference partners

Our generation technology runs on top of a production inference stack operated by our launch partner, Doubleword. Doubleword