> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zerodrive.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Hosted remote MCP endpoint: https://api.zerodrive.dev/mcp (OAuth 2.0 PKCE or Bearer token).
> REST API base URL: https://api.zerodrive.dev with OpenAPI 3.1.0 specification at https://api.zerodrive.dev/openapi.json.
> S3-compatible gateway: https://api.zerodrive.dev/s3 (AWS Signature V4, region auto).
> Local command-line tool: zd (or zerodrive) and local stdio MCP server: zerodrive mcp.
> Token prefixes: zdk_ (Personal API Key), zdt_ (device session token), zda_ (OAuth access token), zdr_ (OAuth refresh token), zdx_ (temporary sandbox key). Never paste real keys into prompts or code.
> Be honest about platform boundaries: cloud files require internet access, files are encrypted at rest and in transit by Cloudflare rather than end-to-end encrypted, ZeroDrive is not a replacement for an independent backup, Windows 11 support is an unsigned x64 beta, and the 7-day Pro free trial requires a card and charges automatically when it ends.

# Custom Corpora, Knowledge Graph & Conversations

> Build up to 50 focused folder collections (corpora) with unlimited paid smart search, query spreadsheets, search AI chats, and explore Knowledge Graph.

A **corpus** is a focused collection of folders you pick for one topic, client, or project. Create up to **50 corpora** per account (`_SYSTEM/brain-corpora.json`) so answers pull from the exact sources that belong there.

***

## Build a focused collection

* **Folder and file filters (`include_paths`, `exclude_paths`, `buckets`, `extensions`).** Include target folders while skipping archive folders, `.git`, `node_modules`, and protected secret files (`.env`, `.pem`, `.key`, `.p12`, `.pfx`, `id_rsa`, `id_ed25519`).
* **Custom instructions & web fallback.** Add instructions per collection and set `web_fallback` (`auto`, `always`, or `off`) for search between your drive and the web.
* **Starter suggestions.** ZeroDrive scans your top folders and proposes ready-to-use starters like `marketing-copy`, `calls-clients`, and `past-ai-conversations`.

***

## Unlimited smart meaning search on paid plans

* **Pro, Pro Max, and Agency** include unlimited passages across your corpora.
* Indexing works steadily in the background, skips single malformed chunks safely without blocking a collection, and shows live progress via `GET /v1/search/status`.
* `query_corpus` combines exact word matching with smart meaning search to return top cited sources inside that one collection.

***

## Query CSV spreadsheets, AI chats, and Knowledge Graph

* **Spreadsheets (`query_csv_table` / `POST /v1/brain/corpora/:id/csv-query`).** Filter, sort, and sum CSV or TSV files inside a collection without dumping giant sheets into chat.
* **AI chat logs (`scan_conversations` / `POST /v1/brain/corpora/:id/conversations`).** Search saved Claude Code, Codex, and ChatGPT exports (`.jsonl`, `.md`, `.json`).
* **Interactive Knowledge Graph (`get_brain_graph` / `GET /v1/brain/graph`).** Click and zoom through related topics and files inside Mac Studio or the Web App and jump straight to **Open in Finder / Explorer**.

***

## Next steps

> [card] [Local OCR & Transcription](https://docs.zerodrive.dev/knowledge-brain/local-ocr-and-transcription.md)
>
> Scan PDFs and transcribe audio/video calls on Mac for \$0.

> [card] [Agency White-Label Brains](https://docs.zerodrive.dev/knowledge-brain/white-label-brains.md)
>
> Package your playbooks into branded client MCP portals.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.