Skip to main content
POST
Create memory store

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
key
string
required

The unique key of the memory store. The key is unique and inmmutable and cannot be repeated within the same workspace.

Required string length: 1 - 255
Pattern: ^[A-Za-z]([A-Za-z0-9]*([._][A-Za-z0-9]+)*)?$
embedding_config
object
required
description
string
required
path
string
required

Entity storage path. With workspace-level API keys, the first element identifies the project. With project-level API keys, the path is relative to that project.

ttl
number | null

Response

201 - application/json

Memory store successfully created with the specified configuration.

key
string
required

The unique key of the memory store. The key is unique and inmmutable and cannot be repeated within the same workspace.

Required string length: 1 - 255
Pattern: ^[A-Za-z]([A-Za-z0-9]*([._][A-Za-z0-9]+)*)?$
description
string
required

The description of the memory store. Be as precise as possible to help the AI to understand the purpose of the memory store.

created
string
required

The creation date of the memory store

updated
string
required

The last update date of the memory store

embedding_config
object
required
_id
string
required

The unique identifier of the memory store

created_by_id
string | null

The user ID of the creator

updated_by_id
string | null

The user ID of the last updater

ttl
number | null