# Release Management API (/)

The Release Management API gives machines read access to the catalog of Release Management at Ovokacho. Its Consumers are TrackPlan and the Ovokacho agent. The API never writes to Release Management.

## API at a glance [#api-at-a-glance]

| Topic | How it works |
| --- | --- |
| [Access](/rules#call-the-api-with-a-machine-token) | Every call carries the M2M token of a machine from Clerk in the `Authorization: Bearer` header. |
| [Cabinet Boundary](/rules#send-the-cabinet-boundary-with-every-call) | Every call of an Operation sends the `x-cabinets` header, and a response contains only data of these Cabinets. |
| [Address](/rules#call-an-operation-with-get-and-query-parameters) | An Operation is `GET https://rm-api.ovkch.com/api/v1/<name>`, and its input is query parameters. |
| [Items](/rules#name-an-item-by-its-key-from-a-response) | A Key from a response names an item in the next call. Only `search` accepts words. |
| [Lists](/rules#read-a-window-page-by-page) | A list is a Window, and the API returns it Page by Page with `nextCursor`. |
| [Labels](/rules#choose-the-language-of-labels-with-accept-language) | The `Accept-Language` header chooses the language of the labels for people: `en` or `ru`. |
| [Errors](/rules#distinguish-errors-by-code) | An error is `application/problem+json`, and its `code` tells you what to do. |
| [Contract](/client) | The API publishes its contract in OpenAPI 3.1 at `/api/v1/openapi.json`. |

## Start here [#start-here]

- [First call](/quickstart): Get a machine token, send the Cabinet Boundary and read the first Page.

- [Client from the contract](/client): Build types from the contract, walk a Window and distinguish errors by `code`.

- [For agents](/agents): Read this site as Markdown through `llms.txt`, `.md` pages and `Accept: text/markdown`.

- [API rules](/rules): The rules that every Operation follows, and what to do for each error code.

The Reference section lists every Operation with its parameters, response fields, errors and an example. The API code generates these pages, the rules page and the contract, so they always agree.