Skip to main content
Most users don’t need to call the API directly. The OpenClaw plugin handles memory operations automatically via Auto-Recall, Auto-Capture, and built-in tools.

Store Memory

Store a new memory for your project. Endpoint: POST /memory/store
string
required
The content of the memory
string
Memory type: episodic, semantic, procedural, or working
string[]
Optional tags for organization
object
Optional metadata object

Request

Response


Search Memories

Search memories using semantic similarity. Endpoint: POST /memory/search
string
required
Natural language search query
string
Filter by memory type
number
default:"10"
Number of results (max 20)

Request

Response


Get Recent Memories

Retrieve the most recent memories. Endpoint: POST /memory/recent
number
default:"20"
Number of results
string
Filter by memory type

Request

Response


Delete Memory

Delete a memory by ID. Endpoint: DELETE /memory/:id

Request

Response