> For the complete documentation index, see [llms.txt](https://k-ai.gitbook.io/knowledge-ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://k-ai.gitbook.io/knowledge-ai/reference/retrieval-api.md).

# OpenAPI — Retrieval API

The full OpenAPI 3.1 specification for the K-AI Retrieval API. Authenticate with a Bearer JWT obtained via OAuth 2.1 — see [OAuth 2.1](/knowledge-ai/authentication/oauth.md). Base URL: `https://api-retrieval.kai-studio.ai`.
