# Singlebase Documentation > Singlebase is a backend platform for applications and AI agents. It provides a JSON document database, file storage, authentication and user management, AI generation and embeddings, and chat with retrieval through one JSON API. Use these references when constructing Singlebase requests. Each call is a JSON POST to the project's API endpoint with X-API-KEY and an operation/payload envelope. Credentials belong in a server environment or secret manager. Web keys use bearer tokens for user-scoped data, files, generation, and embeddings. Server and permitted agent keys can act without a bearer token. Agent keys cannot call auth.*, user.*, users.get or user token operations. Do not put ownership fields inside filters; use payload-level _user_id for documents or owner_id for files. Examples contain placeholders and illustrative values. Use actual project resource names and returned IDs. Read the operation's access rules and parameters before making a call. ## Documentation - [Singlebase Documentation](https://docs.singlebase.io/index.md): Singlebase is a backend platform for applications and AI agents, providing a JSON document database with VectorDB embeddings, vector search, FTS5 full-text search, and hybrid retrieval, plus file storage, authentication, user management, and AI through one API. - [Singlebase REST API Quickstart](https://docs.singlebase.io/quickstart.md): Create and query your first Singlebase document with curl, the JavaScript SDK, or a minimal Python client. Learn the request envelope, server keys, and scoped agent access. - [Singlebase API](https://docs.singlebase.io/api.md): Singlebase is one platform for agents and builders. A database for your agents, a backend for your app — DocumentDB, VectorDB, full-text search, identity, storage, and AI, behind one JSON endpoint. - [Agents](https://docs.singlebase.io/agents.md): Give every agent its own access and your boundaries. Agent keys scope AI agents to the collections, knowledge, files, and features you choose. - [Data](https://docs.singlebase.io/data.md): DocumentDB, VectorDB, and FTS5 in one data foundation. Store JSON documents, find similar content with embeddings, and search exact words and phrases. - [Query Syntax](https://docs.singlebase.io/queries.md): Filter documents with field paths and operators, then sort, paginate, and search the results. - [Templates](https://docs.singlebase.io/templates.md): Compute document values on write with template expressions, helper functions, and filters. - [LLM](https://docs.singlebase.io/llm.md): Intelligence connected to your data. Model access, content generation, structured extraction, and embeddings. - [Chat API and Retrieval](https://docs.singlebase.io/chat.md): Chat with your documents and data. Persisted conversations with VectorDB semantic retrieval, FTS5 keyword search, and hybrid retrieval, attachments, history, and bookmarks. - [MCP](https://docs.singlebase.io/mcp.md): Connect AI agents to your Singlebase project through scoped MCP tools for document discovery, search, writes, and answers with sources. - [Authentication](https://docs.singlebase.io/auth.md): Identity for your app. Sign users up and in with passwords, one-time codes, or OAuth. Manage sessions, credentials, and the current user's profile. - [Current User API](https://docs.singlebase.io/user.md): Read and update the signed-in Singlebase user with user.get and user.update. Learn bearer token requirements, editable profile fields, and metadata. - [Users](https://docs.singlebase.io/users.md): Create, find, update, suspend, and delete project users from a trusted server or AI agent with users.* operations. - [Files](https://docs.singlebase.io/files.md): Storage for the files your users upload and the content your agents generate. Upload directly to storage, share with signed URLs, convert documents to Markdown, and turn files into knowledge. - [API Reference](https://docs.singlebase.io/api-reference.md): Browse Singlebase API operations grouped by data, files, authentication, current user, users, LLM generation, and chat. - [JavaScript SDK](https://docs.singlebase.io/sdk-javascript.md): Connect to Singlebase with the JavaScript SDK. Use data, files, auth, user, users, llm, and chat through one client. - [Python SDK](https://docs.singlebase.io/sdk-python.md): A small copyable Python client for the Singlebase JSON API, with one call method and a Result containing data, error, meta, and exec_time. - [Go SDK](https://docs.singlebase.io/sdk-go.md): A small copyable Go client for the Singlebase JSON API, with one call method and a Result containing data, error, meta, and exec_time. - [PHP SDK](https://docs.singlebase.io/sdk-php.md): A small copyable PHP client for the Singlebase JSON API, with one call method and a Result containing data, error, meta, and exec_time. - [Ruby SDK](https://docs.singlebase.io/sdk-ruby.md): A small copyable Ruby client for the Singlebase JSON API, with one call method and a Result containing data, error, meta, and exec_time. ## Complete reference - [Full documentation](https://docs.singlebase.io/llms-full.txt): All of the references above in one Markdown text file. - [Documentation website](https://docs.singlebase.io/): Human-readable navigation, examples, and local search.