This guide takes you from zero to a working search query against your own content. You’ll need Python 3.10+ and a Memic API key from the dashboard.Documentation Index
Fetch the complete documentation index at: https://docs.memic.ai/llms.txt
Use this file to discover all available pages before exploring further.
1. Install the SDK
2. Authenticate
All Memic API calls are authenticated with an API key. Get one from your environment’s API keys page in the dashboard, then set it as an environment variable:Every API key is bound to exactly one environment (e.g.
staging or
production). Swap the key to swap environments — no code changes.3. Verify your connection
4. Upload a file
Memic’s upload flow uses presigned URLs so large files go directly to storage without passing through the API server. The SDK handles both steps for you:5. Search your content
Once the file isready, semantic search works immediately:
6. Chat over your content
Search returns passages; chat returns grounded answers:Next steps
Guide: Ingestion
Batch uploads, metadata, folder organization.
Guide: Search
Filters, top-k tuning, hybrid retrieval.
Recipe: Chatbot
Build a customer-facing chat over your docs.
API Reference
Every endpoint, every parameter.