Get Agent Archival Memory

GET
/v1/agents/:agent_id/archival

Retrieve the memories in an agent’s archival memory store (paginated query).

Path parameters

agent_idstringRequired

Query parameters

afterintegerOptional

Unique ID of the memory to start the query range at.

beforeintegerOptional

Unique ID of the memory to end the query range at.

limitintegerOptional

How many results to include in the response.

Response

Successful Response

textstring

The text of the passage.

created_by_idstringOptional

The id of the user that made this object.

last_updated_by_idstringOptional

The id of the user that made this object.

created_atdatetimeOptional

The creation date of the passage.

updated_atdatetimeOptional

The timestamp when the object was last updated.

is_deletedbooleanOptionalDefaults to false

Whether this passage is deleted or not.

agent_idstringOptional

The unique identifier of the agent associated with the passage.

source_idstringOptional

The data source of the passage.

file_idstringOptional

The unique identifier of the file associated with the passage.

metadata_map from strings to anyOptional

The metadata of the passage.

idstringOptionalformat: "^passage-[a-fA-F0-9]{8}"

The human-friendly ID of the Passage

embeddinglist of doublesOptional

The embedding of the passage.

embedding_configobjectOptional

The embedding configuration used by the passage.

Errors

Built with