> 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/audit-api.md).

# OpenAPI — Audit API

The full OpenAPI 3.1 specification for the K-AI Audit API. Authenticate with a Bearer JWT (OAuth 2.1) or the `kai_auth` HttpOnly cookie. Operations marked `x-mcp-exposed: true` are also exposed on the Audit MCP server (see [Schema stability policy](/knowledge-ai/k-ai-mcp/schema-stability.md)). Base URL: `https://api-audit.kai-studio.ai`.
