API Reference
Complete API documentation for Engram Memory
API Reference
Complete reference for the Engram Memory API. All endpoints use the base URL https://api.engrammemory.ai/v1 and require authentication via API key.
Endpoints
| Section | Description |
|---|---|
| Authentication | API keys, JWT tokens, usage tracking, and tier system |
| Memory Operations | Store, search, forget, and embed memories |
| Intelligence | Full pipeline in one call — embed, classify, deduplicate, and compress |
| Overflow Storage | Opt-in hosted memory storage for capacity beyond local limits |
| Compression | Vector compression API for reducing storage footprint |
| Webhooks | Real-time event notifications via HTTP callbacks |
| Triggers | Conditional automation rules for memory events |
| Edge Devices | IoT device management and fleet memory synchronization |
| Monitoring | Health checks, metrics, and system monitoring |
Authentication
Every request requires an API key in the Authorization header:
Authorization: Bearer pr_live_xxxxx
Content-Type: application/json
See Authentication for key creation, usage tracking, and tier details.
SDKs
The API is also available through official SDKs:
- Python SDK —
pip install engrammemory-ai - JavaScript SDK —
npm install engrammemory-ai
Self-Hosted API
The Community Edition exposes a compatible REST API at http://localhost:8585/v1. See Self-Hosted Docker Guide for setup.