# dottxt Files API

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

dottxt Files API is one of 6 APIs that [dottxt](https://apis.io/providers/dottxt/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include files. 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)

## Operations (6)

| Method | Path | Summary |
|---|---|---|
| GET | `/files` | List files |
| POST | `/files` | Upload file |
| GET | `/files/{file_id}` | Retrieve file |
| DELETE | `/files/{file_id}` | Delete file |
| GET | `/files/{file_id}/content` | Retrieve file content |
| GET | `/files/{file_id}/cost-estimate` | Get file cost estimate |

## Machine-readable artifacts (3)

- **OpenAPI** — https://artifacts.apis.io/dottxt/openapi/dottxt-files-api-openapi.yml
- **Documentation** — https://docs.dottxt.ai
- **APIReference** — https://docs.dottxt.ai/api/overview

## Other dottxt APIs (5)

- [dottxt Models API](https://apis.io/apis/dottxt/dottxt-models-api/)
- [dottxt Batches API](https://apis.io/apis/dottxt/dottxt-batches-api/)
- [dottxt Embeddings API](https://apis.io/apis/dottxt/dottxt-embeddings-api/)
- [dottxt Responses API](https://apis.io/apis/dottxt/dottxt-responses-api-api/)
- [dottxt Chat Completions API](https://apis.io/apis/dottxt/dottxt-chat-completions-api/)

## Tags

files

---

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