API reference

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

Path and query parameters
FieldTypeWhat it is
id (path)requiredstring

Answer 200

The events.

Fields of the 200 answer
FieldTypeWhat it is
object"list"
dataarray of object
data[].idstring
data[].object"memory.event"
data[].memory_idstring
data[].space_idstring
data[].eventstringOne of "ADD", "UPDATE", "DELETE".
data[].old_memorystring or null
data[].new_memorystring or null
data[].sourcestring
data[].request_idstring or null
data[].created_atinteger
first_idstring or null
last_idstring or null
has_moreboolean

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.

Antimatter