Skip to main content
POST
/
api
/
v2
/
memories
Add Memories
curl --request POST \
  --url http://localhost:8080/api/v2/memories \
  --header 'Content-Type: application/json' \
  --data '
{
  "messages": [
    {
      "content": "<string>",
      "producer": "user",
      "produced_for": "",
      "timestamp": "2023-11-07T05:31:56Z",
      "role": "",
      "metadata": {}
    }
  ],
  "org_id": "universal",
  "project_id": "universal",
  "types": [
    "semantic"
  ]
}
'
{
  "results": [
    {
      "uid": "<string>"
    }
  ]
}

Body

application/json

Specification model for adding memories.

messages
object[]
required
Minimum array length: 1
org_id
string
default:universal
project_id
string
default:universal
types
enum<string>[]
Available options:
semantic,
episodic

Response

200 - application/json

Successful Response

Response model for adding memories.

results
object[]
required