# API reference (/docs/api)

Every API endpoint with its parameters, responses and request examples.

The API reads and writes content over HTTPS and returns JSON. Authenticate with an API key, as described in [Authentication](/docs/authentication). Errors use one shape: `{ "error": { "code": "...", "message": "..." }, "requestId": "..." }`.

These pages are generated from the API's OpenAPI document. The raw document is served at `/openapi.json` on the API origin.

The API is not live yet. To read published content with a public key, see the [Delivery API](/docs/content-api).
