List Archives
Get a list of all archives for the current organization with optional filters and pagination.
Headers
Authorization
Header authentication of the form Bearer <token>
Query parameters
before
Archive ID cursor for pagination. Returns archives that come before this archive ID in the specified sort order
after
Archive ID cursor for pagination. Returns archives that come after this archive ID in the specified sort order
limit
Maximum number of archives to return
order
Sort order for archives by creation time. 'asc' for oldest first, 'desc' for newest first
Allowed values:
name
Filter by archive name (exact match)
agent_id
Only archives attached to this agent ID
Response
Successful Response
created_at
The creation date of the archive
name
The name of the archive
created_by_id
The id of the user that made this object.
last_updated_by_id
The id of the user that made this object.
updated_at
The timestamp when the object was last updated.
description
A description of the archive
vector_db_provider
The vector database provider used for this archive's passages
Allowed values:
metadata
Additional metadata
id
The human-friendly ID of the Archive