
Get your API key and choose your integration interface in Step 5 of the wizard.
The final step of the RAG Wizard generates your API key and provides access to your RAG system through three interfaces: REST API, Python SDK, and MCP.
After completing the wizard, you'll receive an API key that starts with rk_. This key authenticates all requests to your RAG project.
rk_12345678_abcdef1234567890abcdef12
Copy your API key now. You won't see it again in full. You can regenerate it from the dashboard if lost.
# .env file (add to .gitignore)
GUIDEDMIND_API_KEY=rk_your_key_here# Python - read from environment
import os
api_key = os.environ["GUIDEDMIND_API_KEY"]Direct HTTP access. Works with any language or tool.
curl -X POST "https://api.guidedmind.ai/rag/search" \
-H "X-API-Key: rk_your_key_here" \
-H "Content-Type: application/json" \
-d '{"query": "What is the return policy?"}'Available endpoints:
POST /rag/search — Search your document indexPOST /rag/upload — Upload a documentPOST /rag/upload-and-process — Upload and process immediatelyType-safe client with async support and automatic retries.
pip install guidedmind-rag-sdk-pythonfrom guidedmind import Client
client = Client() # reads GUIDEDMIND_API_KEY from env
response = client.search(query="What is the return policy?")
for result in response.results:
print(f"{result.score:.3f} {result.content[:80]}...")Integrate with AI agents like Claude Desktop, LangChain, or any MCP-compatible client.
# Connect via SSE
GET /api/v1/mcp/sse?api_key=rk_your_key_here
# Send JSON-RPC messages
POST /api/v1/mcp/messages?session_id=YOUR_SESSION_ID
All requests are rate-limited based on your subscription plan.
| Header | Description |
|---|---|
X-RateLimit-Limit | Max requests per window |
X-RateLimit-Remaining | Requests left |
X-RateLimit-Reset | Unix timestamp when limit resets |
When rate limited, you'll receive a 429 Too Many Requests response.
Verify your API key works immediately:
curl -X POST "https://api.guidedmind.ai/rag/search" \
-H "X-API-Key: rk_your_key_here" \
-H "Content-Type: application/json" \
-d '{"query": "test", "options": {"limit": 1}}'Expected response:
{
"query": "test",
"results": [...],
"metadata": {
"project_id": 42,
"project_name": "My RAG Project",
"processing_time_ms": 150,
"chunks_retrieved": 1,
"search_method_used": "hybrid"
}
}From the dashboard API Endpoints tab: