{"name":"Central Intelligence API","version":"1.2.2","description":"Persistent memory for AI agents. Hybrid retrieval (pgvector HNSW + BM25 + cross-encoder rerank). 75.0% LongMemEval, 52.2% LifeBench. Open source, self-hostable.\n\nSee https://github.com/AlekseiMarchenko/central-intelligence and https://centralintelligence.online.","base_url":"https://central-intelligence-api.fly.dev","auth":{"type":"bearer","header":"Authorization","format":"Bearer <api-key>","note":"Get a key via POST /keys (no auth required)"},"endpoints":[{"method":"POST","path":"/keys","auth":false,"description":"Create a new API key. No authentication required. Save the returned `key` — it won't be shown again.","summary":"Create a new API key","tags":["Auth"]},{"method":"DELETE","path":"/keys/revoke","auth":true,"description":"Invalidates the API key used to authenticate this request.","summary":"Revoke the current API key","tags":["Auth"]},{"method":"POST","path":"/memories/remember","auth":true,"description":"Store a memory. Content is embedded (text-embedding-3-small) and indexed (pgvector HNSW + BM25 tsvector) for hybrid retrieval. `event_date_from`/`event_date_to` optionally describe when the event happened (distinct from `created_at`).","summary":"Store a memory","tags":["Memories"]},{"method":"POST","path":"/memories/recall","auth":true,"description":"Hybrid retrieval: pgvector HNSW + BM25 → RRF fusion → temporal decay → bge-reranker-v2-m3 cross-encoder. Returns top matches ordered by `relevance_score` (higher = more relevant). `date_from`/`date_to` optionally restrict to memories whose event window overlaps the requested range.","summary":"Search memories","tags":["Memories"]},{"method":"POST","path":"/memories/context","auth":true,"description":"Describe what you're working on; the API recalls the most relevant memories across all visible scopes. Convenience wrapper around `/memories/recall` that picks the widest relevant scope automatically.","summary":"Auto-load context for a task","tags":["Memories"]},{"method":"DELETE","path":"/memories/:id","auth":true,"description":"Soft-delete a memory by ID. Sets `deleted_at`; data retained for audit per retention policy.","summary":"Delete a memory","tags":["Memories"]},{"method":"POST","path":"/memories/:id/share","auth":true,"description":"Widen a memory's visibility scope (agent → user → org) so other agents or users can recall it.","summary":"Share a memory","tags":["Memories"]},{"method":"POST","path":"/memories/extract","auth":true,"description":"Processes all pending memories through GPT-4o-mini fact extraction: atomic facts, entities, temporal info, causal relations. Writes to `fact_units` table. Dormant by default — call explicitly to enrich memories for graph retrieval. Enterprise tier will run this automatically.","summary":"Extract structured facts (Enterprise preview)","tags":["Memories","Enterprise"]},{"method":"POST","path":"/memories/build-graph","auth":true,"description":"After extraction, resolve entities and build the entity→fact graph + temporal/causal fact_links for multi-hop retrieval. Dormant by default. Enterprise tier.","summary":"Build entity graph (Enterprise preview)","tags":["Memories","Enterprise"]},{"method":"GET","path":"/usage","auth":true,"description":"Memory counts, 30-day usage events, and active agents for the authenticated API key.","summary":"Get usage stats","tags":["Account"]},{"method":"GET","path":"/payments/info","auth":false,"description":"Returns payment endpoint metadata for x402-compatible clients (accepted currencies, minimum amounts, etc.).","summary":"Payment configuration","tags":["Payments"]},{"method":"GET","path":"/payments/balance","auth":true,"description":"Prepaid credit balance for the authenticated API key.","summary":"Get credit balance","tags":["Payments"]},{"method":"POST","path":"/payments/verify","auth":true,"description":"Verify an x402 on-chain payment and credit the authenticated API key.","summary":"Submit payment proof","tags":["Payments"]},{"method":"GET","path":"/payments/history","auth":true,"description":"List prior payments and credits for the authenticated API key.","summary":"Payment history","tags":["Payments"]}],"rate_limits":{"free":{"requests_per_minute":60,"max_memories":500},"pro":{"requests_per_minute":120,"max_memories":50000},"team":{"requests_per_minute":600,"max_memories":500000},"enterprise":{"requests_per_minute":3000,"max_memories":"unlimited"}},"errors":{"400":"Invalid request body","401":"Missing or invalid API key","403":"Memory limit reached for your tier","404":"Resource not found","429":"Rate limit exceeded","500":"Internal server error"}}