curl -X GET "/api/v1/openclaw/memory?query=vault%20organization" \ -H "Authorization: Bearer alf_your_key_here"
{ "...": "Structure depends on gateway memory output"}
OpenClaw
Agent Memory
Get agent memory usage and statistics
GET
/
api
/
v1
/
openclaw
/
memory
curl -X GET "/api/v1/openclaw/memory?query=vault%20organization" \ -H "Authorization: Bearer alf_your_key_here"
{ "...": "Structure depends on gateway memory output"}
Query your instance’s agent memory and conversation history. You can search for specific topics or list all memory entries. This is useful for understanding what your agents have learned and retained across sessions.The response is returned as structured JSON when available, or as raw text in a raw field.
Search query text. If provided, filters memory entries matching the query. If omitted, returns all memory entries.
curl -X GET "/api/v1/openclaw/memory?query=vault%20organization" \ -H "Authorization: Bearer alf_your_key_here"
{ "...": "Structure depends on gateway memory output"}
The response format depends on the gateway’s output. If the gateway returns valid JSON, it is passed through as-is. Otherwise, the raw text is returned in a raw field.