.txt
.txt (dottxt) is the structured-generation company behind the open-source Outlines library (65M+ downloads). Its hosted platform, the dottxt API at api.dottxt.ai, is an OpenAI-compatible pay-per-token API whose defining contract is schema enforcement: a JSON Schema passed in response_format is compiled and enforced by constrained decoding, so model outputs are guaranteed valid — including field-by-field RFC 6902 JSON Patch streaming, Open Responses support, embeddings, and JSONL batch processing. Founded by the Outlines maintainers and backed by Seedcamp; inference is operated with launch partner Doubleword.
.txt publishes 6 APIs on the APIs.io network, including batches API, chat API, embeddings API, and 3 more. Tagged areas include Company, Artificial Intelligence, LLM, Structured Outputs, and JSON Schema.
.txt’s developer surface includes documentation, API reference, getting-started guide, signup flow, engineering blog, support, CLI, and 18 more developer resources.
Kin Score
APIs 6
Individual APIs this provider publishes, each with its own machine-readable definition.
.txt batches API
Process large volumes of requests asynchronously. Batch processing is ideal when you: - Have many requests that don't need immediate responses - Want to process data in bulk (e....
.txt chat API
Create model responses for chat conversations. Supports: - **Multi-turn dialogue** with conversation history - **System prompts** to control model behavior - **Tool calling** fo...
.txt embeddings API
Generate vector representations of text. Use embeddings for: - **Semantic search** - find content by meaning, not just keywords - **Clustering** - group similar documents togeth...
.txt files API
Upload and manage JSONL files for batch processing. Each line in the file should be a JSON object with: - `custom_id` - your identifier for tracking the request - `method` - HTT...
.txt models API
List and retrieve information about available models. Use these endpoints to discover which models you have access to and their capabilities.
.txt responses-api API
Create model responses with enhanced capabilities. Open Responses compatible endpoint providing advanced features: - **Reasoning models** - Control computational effort with `re...
MCP Servers 1
Model Context Protocol servers that expose these APIs to AI agents.
txt-mcp.yml
MCP SERVERSecurity Posture 2
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Get Started 2
Portal, sign-up, and the first successful call
Documentation 2
Reference material describing how the API behaves
Agent Surfaces 5
MCP servers, agent skills, and machine-readable catalogs
Design & Contract 5
Pagination, idempotency, versioning, errors, and events
Build 4
SDKs, sample code, and the tooling you integrate with
Access & Security 2
Authentication, authorization, and security posture
Operate 2
Status, limits, changes, and where to get help
Commercial 1
Pricing, plans, and the legal terms of use
Company 2
The organization behind the API