API reference · API
A memory's history
GET/v1/memories/{id}/historyAPI key
Every ADD, UPDATE and DELETE, oldest first; readable after the memory is gone.
Parameters
| Field | Type | What it is |
|---|---|---|
| id (path)required | string |
Answer 200
The events.
| Field | Type | What it is |
|---|---|---|
| object | "list" | |
| data | array of object | |
| data[] | string | |
| data[] | "memory.event" | |
| data[] | string | |
| data[] | string | |
| data[] | string | One of "ADD", "UPDATE", "DELETE". |
| data[] | string or null | |
| data[] | string or null | |
| data[] | string | |
| data[] | string or null | |
| 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.