API reference
Agent Memory provides two APIs:
-
Worker binding API — The primary interface for interacting with memory profiles. Accessed through the
agent_memorybinding in your Worker code.ingest()— Extract and store memories from conversations.recall()— Search memories and synthesize answers.getSummary()— Generate a Markdown profile summary.
-
REST API — For managing namespaces (create, list, get, delete).
- Namespace management — CRUD operations for namespaces via the Cloudflare API.