API Reference¶
OpenAPI specification and endpoint details.
Base URL¶
Interactive Docs¶
Swagger UI available at:
ReDoc available at:
OpenAPI Spec¶
Download the OpenAPI 3.0 specification:
Endpoints Overview¶
| Method | Endpoint | Description |
|---|---|---|
| GET | /health |
Health check |
| POST | /store |
Store memories |
| POST | /recall |
Query memories |
| GET | /memories |
List memories |
| PUT | /memories/{id} |
Update memory |
| DELETE | /memories |
Delete memories |
| GET | /entities |
List entities |
| GET | /entities/{id} |
Get entity |
| GET | /entities/{id}/relationships |
Entity relationships |
| GET | /entities/{id}/memories |
Entity memories |
| POST | /keys |
Create API key |
| GET | /keys |
List API keys |
| DELETE | /keys/{id} |
Revoke API key |
| GET | /temporal/decay/report |
Decay report |
| POST | /temporal/cleanup |
Run cleanup |
| POST | /cleanup-expired |
Remove expired |
Authentication¶
Include API key in Authorization header:
Request/Response Format¶
All requests and responses use JSON:
Error Format¶
Full Endpoint Documentation¶
See REST API Guide for detailed endpoint documentation with examples.
Rate Limits¶
| Endpoint | Limit |
|---|---|
| POST /store | 30/minute |
| POST /recall | 60/minute |
| DELETE /memories | 10/minute |
| Others | 120/minute |
SDKs¶
Python¶
REST (Any Language)¶
Use the REST API directly with any HTTP client.