Documents
Retrieve a list of documents
Retrieve a paginated list of documents for the authenticated organization.
get/v1/namespace/{namespaceId}/documents
Request
- Base URLhttps://api.agentset.ai
- AuthHTTP bearer
Path parameters
namespaceIdstring required
The id of the namespace (prefixed with ns_)
Example:ns_123
Query parameters
statusesDocument Status[]
Comma separated list of statuses to filter by.
orderBy'createdAt'
The field to order by. Default is createdAt.
order'asc' | 'desc'
The order to sort by. Default is desc.
ingestJobIdstring
The ingest job ID to filter documents by.
cursorstring
The cursor to paginate by.
cursorDirection'forward' | 'backward'
The direction to paginate by.
perPagenumber
The number of records to return per page.
Headers
x-tenant-idstring
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.
Response
The retrieved ingest jobs
Changes
No recorded changes to this operation across all 2 revisions of this API.