# .txt files API

**Canonical:** https://apis.io/apis/txt/txt-files-api/  
**Provider:** .txt — https://apis.io/providers/txt/  
**Base URL:** https://api.dottxt.ai/v1  
**Documentation:** https://docs.dottxt.ai/api/overview

.txt files API is one of 6 APIs that [.txt](https://apis.io/providers/txt/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include File. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

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` - HTTP method (POST) - `url` - endpoint path (e.g., `/v1/chat/completions`) - `body` - the request payload [Learn more about the JSONL file format →](https://docs.doubleword.ai/batches/jsonl-files)

## Machine-readable artifacts (3)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/txt/refs/heads/main/openapi/txt-files-api-openapi.yml
- **Documentation** — https://docs.dottxt.ai/api/overview
- **APIReference** — https://docs.dottxt.ai/api/chat-completions

## Other .txt APIs (5)

- [.txt batches API](https://apis.io/apis/txt/txt-batches-api/)
- [.txt chat API](https://apis.io/apis/txt/txt-chat-api/)
- [.txt embeddings API](https://apis.io/apis/txt/txt-embeddings-api/)
- [.txt models API](https://apis.io/apis/txt/txt-models-api/)
- [.txt responses-api API](https://apis.io/apis/txt/txt-responses-api-api/)

## Tags

File

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/txt/txt-files-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/txt/.
