Skip to main content
POST
Add memories

Authorizations

Authorization
string
header
required

API key from waterr.ai/settings?tab=api-keys. Send as Authorization: Bearer wai_<your_key>.

Body

application/json
user_memory_tag
string
required
Maximum string length: 128
Pattern: ^[A-Za-z0-9][A-Za-z0-9._:@+\-/|=]{0,127}$
memories
(string | object)[]
required
Maximum array length: 500
Maximum string length: 1000
scenario_id
string<uuid>

Attribute the facts to one of your agents, so they are listed under it.

Response

The memories that were added, and how many were already known.

user_memory_tag
string
created
object[]
skipped
integer