Memory
Remember a fact
Changed onStore one fact so the agent can recall it later by meaning. The text is embedded on write; retrieval is semantic, not keyword.
Scope goes in the body here. Pass scope plus the matching contactId / conversationId. Omit it for the project scope. Every read endpoint takes the scope as a ?scope= query parameter instead — see the scope parameter on GET /v1/memory.
One fact per call. A paragraph carrying five unrelated facts is embedded as an average of all five and retrieved well by none of them.
post/v1/memory
Request
- Base URLhttps://api.zavu.dev
- URLhttps://api.zavu.dev/v1/memory
- AuthHTTP bearer
Request body
Example request
{
"text": "Prefers to be contacted in the morning, and by WhatsApp rather than email."
}Response
Fact stored.
Example response
{
"memory": {
"id": "m7x2k3m4n5p6q7r8s9t0"
}
}Changes
- info
removed the non-success response with the status
- info
- info
endpoint added
- info