# HTTP API The complete KuentaGYM HTTP API — every route of `api/server.js`, with auth, request/response schemas and the env-dependent behavior — is documented as a hand-written OpenAPI 3.1 spec: - **Spec (source of truth):** [`api/openapi.yaml`](../api/openapi.yaml) - **Browsable:** `website/api.html` — the same spec rendered as one static page by `node scripts/build-api-docs.mjs`. Nothing deploys that site for this fork yet, so there is no hosted copy to point at: build the page and open the file, or read the spec directly. Lint it after changing routes: ```sh npx --yes @redocly/cli lint api/openapi.yaml ``` A route change also means rebuilding `website/api.html` — it is committed, not rendered at runtime. (`js-yaml` comes from the repo-root `package.json`.)