Base URL
All API requests should be made to:Authentication
Include your API key in thex-api-key header:
Endpoints
Memorize
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/memorize | Upload a document |
Memories
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/memories/ask | Ask with AI response |
| POST | /v1/memories/recall | Recall raw memories |
| POST | /v1/memories/feedback | Rate a memory |
Health
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/health | Health check |
Request Format
Most endpoints acceptmultipart/form-data:
Response Format
All responses are JSON:Error Handling
Errors return appropriate HTTP status codes with a JSON body:| Status | Meaning |
|---|---|
400 | Bad Request - Invalid parameters |
401 | Unauthorized - Invalid API key |
403 | Forbidden - Access denied |
404 | Not Found - Resource doesn’t exist |
409 | Conflict - Duplicate item ID |
429 | Too Many Requests - Rate limited |
500 | Server Error - Something went wrong |
Rate Limits
| Limit | Value |
|---|---|
| Requests per minute | 1,000 |
| Max file size | 10 MB |
| Max query length | 1,000 characters |
SDKs
Or use any HTTP client directly (cURL,fetch, requests, etc.).
