OpenAPI document

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

For AI agents: the docs index is at /llms.txt, and every page is also served as markdown at its URL plus .md.

#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

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.
  • 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.
  • The error envelope that every failed call returns. See Errors.

#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 says.

The schemas are listed field by field on the Models page. For a ready-made set of requests, import the Postman collection.

OpenAPI document