API reference · API
A space's memories, newest first
GET/v1/memoriesAPI key
Parameters
| Field | Type | What it is |
|---|---|---|
| space_id (query) | string | |
| user (query) | string | |
| limit (query) | integer | |
| after (query) | string | |
| order (query) | string | One of "asc", "desc". |
Answer 200
The memories.
| Field | Type | What it is |
|---|---|---|
| object | "list" | |
| data | array of object | |
| data[] | string | mem_ and 24 hex digits. |
| data[] | "memory" | |
| data[] | string | |
| data[] | string | The remembered text. |
| data[] | string or null | Your end user it is about. |
| data[] | object | |
| data[] | string | One of "explicit", "extracted", "chat", "agent". |
| data[] | number or null | 0 to 1, as the extraction gave it; null for a text written as is. |
| data[] | number | On a search: cosine similarity, 0 to 1. |
| data[] | integer | |
| data[] | integer | |
| first_id | string or null | |
| last_id | string or null | |
| has_more | boolean |
Errors
- 401OpenAI shaped error.
- 404OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.