Documents
Retrieve a list of documents
Retrieve a paginated list of documents for the authenticated organization.
GET
TypeScript
Documentation Index
Fetch the complete documentation index at: https://docs.agentset.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Default authentication mechanism
Headers
Optional tenant id to use for the request. If not provided, the namespace will be used directly. Must be alphanumeric and up to 64 characters.
Pattern:
^[A-Za-z0-9]{1,64}$Path Parameters
The id of the namespace (prefixed with ns_)
Example:
"ns_123"
Query Parameters
Comma separated list of statuses to filter by.
The status of the document.
Available options:
BACKLOG, QUEUED, QUEUED_FOR_RESYNC, QUEUED_FOR_DELETE, PRE_PROCESSING, PROCESSING, DELETING, CANCELLING, COMPLETED, FAILED, CANCELLED The field to order by. Default is createdAt.
Available options:
createdAt The order to sort by. Default is desc.
Available options:
asc, desc The ingest job ID to filter documents by.
The cursor to paginate by.
The direction to paginate by.
Available options:
forward, backward The number of records to return per page.
Required range:
1 <= x <= 100TypeScript