{"name":"AgentMemo API","version":"0.1.0","base_url":"https://api.agentmemo.net","auth":{"header":"X-API-Key","example":"X-API-Key: am_yourkey","get_key":"https://agentmemo.net"},"endpoints":{"memories":{"POST /memories":{"description":"Store a memory","auth":true,"body":{"content":"string (required) — the memory content","namespace":"string (optional, default: \"default\")","metadata":"object (optional)"},"response":{"id":"string","content":"string","namespace":"string","metadata":"object","created_at":"ISO timestamp"}},"GET /memories/search":{"description":"Search memories by query","auth":true,"query":{"q":"string (required) — search query","namespace":"string (optional, default: \"default\")","limit":"number (optional, default: 10, max: 50)"},"response":{"query":"string","namespace":"string","count":"number","results":"Memory[]"}},"GET /memories":{"description":"List recent memories","auth":true,"query":{"namespace":"string (optional, default: \"default\")","limit":"number (optional, default: 20, max: 100)","offset":"number (optional, default: 0)"}},"GET /memories/:id":{"description":"Get a specific memory by ID","auth":true},"DELETE /memories/:id":{"description":"Delete a memory","auth":true,"response":{"deleted":true,"id":"string"}}},"approvals":{"POST /approve":{"description":"Submit an action for human approval","auth":true,"body":{"question":"string (required) — what to ask the human","context":"string (optional) — additional context","namespace":"string (optional, default: \"default\")","callback_url":"string (optional) — webhook URL to POST decision to"},"response":{"id":"string","status":"\"pending\"","question":"string","poll_url":"string","created_at":"string"}},"GET /approve/:id":{"description":"Poll the status of an approval request","auth":true,"response":{"id":"string","status":"\"pending\"|\"approved\"|\"rejected\"","decision":"string|null","decided_at":"string|null"}},"GET /approvals":{"description":"List approval requests","auth":true,"query":{"status":"\"pending\" | \"approved\" | \"rejected\" (default: \"pending\")","namespace":"string (optional)"}}},"usage":{"GET /usage":{"description":"Get usage stats for the current API key","auth":true,"response":{"key_name":"string","tier":"\"free\" | \"starter\" | \"pro\" | \"team\"","limits":{"requests_per_day":"number","max_memories":"number"},"usage":{"requests_today":"number","memories_stored":"number","namespaces_used":"number","approvals_pending":"number","approvals_total":"number"},"upgrade_url":"string"}}},"public":{"POST /signup":{"description":"Self-serve free tier key registration","auth":false,"body":{"email":"string (required)"},"response":{"success":true,"api_key":"string","tier":"\"free\"","limits":"object","next_steps":"string[]"}},"GET /health":{"description":"Health check","auth":false,"response":{"status":"\"ok\"","service":"string","version":"string"}}}},"tiers":{"free":{"requests_per_day":100,"max_memories":10000,"price":"$0"},"starter":{"requests_per_day":1000,"max_memories":250000,"price":"$19/mo"},"pro":{"requests_per_day":10000,"max_memories":2000000,"price":"$79/mo"},"team":{"requests_per_day":"unlimited","max_memories":"unlimited","price":"$399/mo"}},"sdks":{"python":"pip install agentmemo","typescript":"npm install agentmemo","mcp":"npx @agentmemo/mcp-server"},"links":{"website":"https://agentmemo.net","pricing":"https://agentmemo.net/#pricing","mcp_setup":"https://agentmemo.net/#mcp"}}