agents
Get Agent Archival Memory
Retrieve the memories in an agent’s archival memory store (paginated query).
GET
/
v1
/
agents
/
{agent_id}
/
archival
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
user_id
string | null
Path Parameters
agent_id
string
requiredQuery Parameters
after
integer | null
Unique ID of the memory to start the query range at.
before
integer | null
Unique ID of the memory to end the query range at.
limit
integer | null
How many results to include in the response.
Response
200 - application/json
user_id
string | null
The unique identifier of the user associated with the passage.
agent_id
string | null
The unique identifier of the agent associated with the passage.
source_id
string | null
The data source of the passage.
file_id
string | null
The unique identifier of the file associated with the passage.
metadata_
object | null
The metadata of the passage.
id
string
The human-friendly ID of the Passage
text
string
requiredThe text of the passage.
embedding
number[] | null
requiredThe embedding of the passage.
embedding_config
object | null
requiredThe embedding configuration used by the passage.
created_at
string
The creation date of the passage.