Skip to main content
POST
/
api
/
v2
/
memories
/
semantic
/
add
{
  "results": [
    {
      "uid": "<string>"
    }
  ]
}

Body

application/json

Specification model for adding memories.

messages
MemoryMessage · object[]
required
A list of messages to be added (batch input).
Must contain at least one message.
Minimum array length: 1
org_id
string
default:universal
The unique identifier of the organization.

- Must not contain slashes (`/`).
- Must contain only letters, numbers, underscores, hyphens, and Unicode
characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols
are allowed.

This value determines the namespace the project belongs to.
project_id
string
default:universal
The identifier of the project.

- Must be unique within the organization.
- Must not contain slashes (`/`).
- Must contain only letters, numbers, underscores, hyphens, and Unicode
characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols
are allowed.

This ID is used in API paths and resource locations.

Response

Successful Response

Response model for adding memories.

results
AddMemoryResult · object[]
required

The list of results for each added memory message.