http://localhost:8000/api/v1
Guides
Querying
RAG and Structured Insights
Base URL:
Response:
Response:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
RAG and Structured Insights
http://localhost:8000/api/v1
POST /users/{user_id}/rag/query
Content-Type: application/json
{"query": "What projects am I working on?"}
{
"query": "What projects am I working on?",
"response": "Based on your memories, you're working on..."
}
POST /users/{user_id}/ask
Content-Type: application/json
{
"query": "What are my preferences?",
"output_schema": {
"preferences": ["example"],
"summary": "string"
}
}
{
"result": {
"preferences": ["remote work", "morning meetings"],
"summary": "User prefers flexible work arrangements"
}
}
| Use Case | Endpoint |
|---|---|
| Conversational responses | RAG Query |
| Data extraction for UI | Ask |
| Feature personalization | Ask |
| Chatbot augmentation | RAG Query |
| Code | Description |
|---|---|
| 400 | Bad Request - Invalid input |
| 404 | User not found |
| 500 | Internal server error |
| 502 | External service (LLM) error |
| 503 | Database connection error |