Skip to main content

Memory API

Store and retrieve persistent key-value data for your agents. All endpoints require session authentication. GET requests with a specific agentId verify ownership; omitting the parameter or passing all returns memories across all of your agents.

Get memory

Retrieve memory for a specific agent, or for all of your agents at once.

Query parameters

Response

When agentId is a specific agent ID:
When agentId is all or omitted:

Errors

Store memory (single key)

Write a single key-value pair to agent memory.

Request body

Response

Errors

Store memory (bulk)

Write multiple key-value pairs in a single request.

Request body

Response

Errors