Skip to main content
POST
Create Memory
The Memories API allows you to store, retrieve, search, and manage memories for your AI applications.

Create Memory

Create a new memory. The memory is processed asynchronously with AI classification.
string
required
The memory content to store
string
default:"default"
Project ID for organizing memories
object
Additional metadata for the memory

Request

Response

List Memories

Retrieve all memories for the authenticated user.
string
Filter by project ID
integer
default:"100"
Maximum number of results
integer
default:"0"
Number of results to skip

Request

Response

Get Memory

Retrieve a specific memory by ID.

Delete Memory

Delete a memory by ID.

Response

Search Memories

Search memories using vector similarity and keyword matching.
string
required
Search query string
string
Filter by project ID
integer
default:"10"
Maximum number of results

Request

Response

Cognitive Sectors

Memories are automatically classified into cognitive sectors:

Headers

x-api-key
string

Body

application/json
content
string
required
metadata
Metadata · object | null
agent_id
string | null

Response

Successful Response

The response is of type Response Create Memory Api V1 Memories Post · object.