> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.privategpt.dev/api-guide/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.privategpt.dev/_mcp/server. # Core API ## Docs - [Messages](https://docs.privategpt.dev/api-guide/messages.md): The core Messages API — chat, streaming, token counting, validation, and async. - [Async messages](https://docs.privategpt.dev/api-guide/messages-async.md): Run chat completions as background jobs — fire, stream, poll, cancel, and clean up. - [Embeddings](https://docs.privategpt.dev/api-guide/embeddings.md): Generate vector embeddings from text for semantic search, clustering, and similarity.