---
title: "OpenAPI document"
url: "https://coldagentai.com/docs/openapi.md"
canonical_url: "https://coldagentai.com/docs/openapi"
last_updated: "2026-11-05"
type: "reference"
summary: "The ColdAgentAI API described in OpenAPI 3.1: download the document, see what it holds and what to use it for."
related: ["https://coldagentai.com/docs/api.md", "https://coldagentai.com/docs/postman.md", "https://coldagentai.com/docs/models.md"]
install: "claude mcp add --transport http coldagentai-free https://coldagentai.com/api/mcp"
---

# OpenAPI document

> **For AI agents:** the complete index of ColdAgentAI pages is [llms.txt](https://coldagentai.com/llms.txt). Every page is also served as markdown at its URL plus .md.

The ColdAgentAI API described in OpenAPI 3.1: download the document, see what it holds and what to use it for.

The API describes itself in an OpenAPI 3.1.0 document: 88 operations and 117 schemas, with a scope on every operation.

## Get the document

The API serves the live document at `https://api.coldagentai.com/openapi.json`. A copy is also on this site. It lists `https://api.coldagentai.com` as the server.

Download the OpenAPI document: `https://coldagentai.com/docs/openapi.json`

cURL:

```
curl -o coldagentai-openapi.json https://coldagentai.com/docs/openapi.json
```

## What it holds

- Every operation with its summary, description, parameters, request body, responses and error responses.
- `x-scope` on every operation: `public`, `read` or `write`. A read key can call `read` and `public` operations; changing state needs a write key. See [Authentication](https://coldagentai.com/docs/authentication.md).
- The two security schemes, a bearer token and an `X-API-Key` header, which both carry the same key.
- The shared response headers, including the rate limit headers explained on [Rate limits](https://coldagentai.com/docs/rate-limits.md).
- The error envelope that every failed call returns. See [Errors](https://coldagentai.com/docs/errors.md).

## What to use it for

Feed it to any OpenAPI 3.1 tool: a client generator, a request validator, a mock server or an agent that reads tool definitions from a spec. It is also the source of this documentation, so what the document says is what the [API reference](https://coldagentai.com/docs/api.md) says.

The schemas are listed field by field on the [Models](https://coldagentai.com/docs/models.md) page. For a ready-made set of requests, import the [Postman collection](https://coldagentai.com/docs/postman.md).

## Related

- [API reference](https://coldagentai.com/docs/api.md)
- [Postman collection](https://coldagentai.com/docs/postman.md)
- [API models and schemas](https://coldagentai.com/docs/models.md)
