REST API, MCP server, and webhooks. Everything you need to wire Cognia into your IDE, your CI, your customer-success workflow, or a tool you haven't thought of yet.
1"tok-comment"># Install MCP server in Claude Code2"tok-cmd">claude mcp add "tok-flag">--scope user "tok-flag">--transport http cognia \3https://api.cogniahq.tech/mcp/v1/jsonrpc \4"tok-flag">--header "Authorization: Bearer ">$COGNIA_API_KEY"56"tok-comment"># Or hit the REST API directly7"tok-cmd">curl "tok-flag">-s "https://api.cogniahq.tech/v1/search" \8"tok-flag">-H "Authorization: Bearer ">$COGNIA_API_KEY" \9"tok-flag">-d '{"query":"why did we pick Postgres?"}'
OpenAPI 3.1 reference. Every endpoint accepts a session cookie or an API key bearer token. Memory CRUD, search, action planning and execution, integration management.
1"tok-cmd">curl "tok-flag">-s "https://api.cogniahq.tech/v1/search" \2"tok-flag">-H "Authorization: Bearer ">$COGNIA_API_KEY" \3"tok-flag">-d '{"query":"what was decided about the migration?"}'
Model Context Protocol JSON-RPC server. Plug Cognia into Claude Code, Cursor, Zed, Continue, and Claude Desktop. Coding agents pull org context as a native tool.
1"tok-cmd">claude mcp add "tok-flag">--scope user "tok-flag">--transport http cognia \2https://api.cogniahq.tech/mcp/v1/jsonrpc \3"tok-flag">--header "Authorization: Bearer ">$COGNIA_API_KEY"
Subscribe to integration sync events, memory create/update, and agent action events. HMAC-SHA256 signature verification on every delivery.
1"tok-comment">// Verify signature on every delivery2"tok-keyword">const sig = req.headers['x-cognia-signature']3"tok-keyword">const expected = hmac(secret, req.rawBody)4"tok-keyword">if (sig !== expected) "tok-keyword">reject(401)
Create scoped, per-org API keys from the Admin UI. Scopes for memories.read, memories.write, actions.plan, actions.execute. Keys are hashed at rest and revealed once.
x-ratelimit-* headers on every response.cogniahq@gmail.com with details. Or see our security page for the full disclosure process. We respond within one business day.