Persistent memory for AI agents. Machine-readable spec →
All endpoints except POST /keys require a Bearer token:
Authorization: Bearer ci_sk_your_key_here
Create a key with POST /keys — no auth needed. Or run: npx central-intelligence-cli signup
Create a new API key. No authentication required.
| Parameter | Type | Description |
|---|---|---|
| name | string = default | Key name |
| org_id | string | Organization ID for org-scoped memories |
Store a memory. The content is embedded for semantic search and persisted across sessions.
| Parameter | Type | Description |
|---|---|---|
| agent_id * | string | Identifier for the agent storing this memory |
| content * | string | The information to remember |
| user_id | string | User identifier for user-scoped memories |
| scope | enum = agent | Visibility scope |
| tags | string[] = | Tags for categorization |
Search memories using semantic similarity. Returns the most relevant memories ranked by cosine similarity to the query.
| Parameter | Type | Description |
|---|---|---|
| agent_id * | string | Agent identifier |
| query * | string | Natural language search query |
| user_id | string | Include user-scoped memories |
| scope | enum | Search scope |
| tags | string[] | Filter by tags |
| limit | integer = 10 | Maximum results |
Auto-load relevant memories for the current task. Describe what you're working on and get back everything relevant from past sessions.
| Parameter | Type | Description |
|---|---|---|
| agent_id * | string | Agent identifier |
| current_context * | string | Description of current task |
| user_id | string | Include user-scoped memories |
| max_memories | integer = 5 | Maximum memories to return |
Soft-delete a memory by ID.
Share a memory with a broader scope so other agents can access it.
| Parameter | Type | Description |
|---|---|---|
| target_scope * | enum | Target scope |
| user_id | string | Required when sharing to user scope |
Get memory counts, usage events, and active agents for the authenticated API key.
req/min
500 memories
req/min
50000 memories
req/min
500000 memories
req/min
unlimited memories
401 Missing or invalid API key
403 Memory limit reached for your tier
429 Rate limit exceeded
500 Internal server error