Write Memory
Endpoint
Authentication
Pass one ofAuthorization: Bearer <api-key> or Authorization: ApiKey <key>.
Path Parameters
string
required
The agent session identifier.
Request Body
string
required
Unique key for the memory item.
string
required
The text value to store.
object
Optional arbitrary metadata object.
Response
string
The stored key.
string
The stored value.
object
Stored metadata.
Search Memory
Endpoint
Query Parameters
string
required
Semantic search query.
integer
Maximum number of results to return.
string
Optional metadata filter expression.
Response
array
Array of matching memory items.
string
Item key.
string
Item value.
number
Semantic similarity score.
object
Item metadata.