Memory

Get All Memories

get

Retrieve all memories for a user based on the provided identifier. Returns a paginated list of memory chunks with their content, metadata, and scores.

Authorizations
OAuth2passwordRequired
Token URL:
cookie
__Secure-next-auth.session-tokenany ofOptional
stringOptional
or
nullOptional
Responses
chevron-right
200

Memories retrieved successfully

application/json
get
/memories

Delete Memories

delete

Delete multiple memories by their IDs. Only memories belonging to the authenticated user can be deleted.

Authorizations
OAuth2passwordRequired
Token URL:
cookie
__Secure-next-auth.session-tokenany ofOptional
stringOptional
or
nullOptional
Body

Request model for deleting memories.

Attributes: memory_ids (list[str]): List of memory IDs to delete.

memory_idsstring[] · min: 1Required

List of memory IDs to delete

Responses
delete
/memories

No content

Delete All Memories for User

delete

Delete all memories for a specific user. This operation will permanently remove all memories associated with the provided user ID.

Authorizations
OAuth2passwordRequired
Token URL:
cookie
__Secure-next-auth.session-tokenany ofOptional
stringOptional
or
nullOptional
Responses
delete
/memories/all

No content

Update Memory Content

put

Update the content of a specific memory by its ID.

Authorizations
OAuth2passwordRequired
Token URL:
cookie
__Secure-next-auth.session-tokenany ofOptional
stringOptional
or
nullOptional
Path parameters
memory_idstringRequired

The unique identifier of the memory to update

Body
contentstring · min: 1 · max: 500Required

Updated content for the memory

Responses
chevron-right
200

Memory updated successfully or failed to update

application/json
put
/memories/{memory_id}

Last updated