List all documents.

Returns all indexed documents in an agent's knowledge base. Each document represents a piece of content (webpage, PDF, uploaded file) that the agent can reference when answering questions. Results are paginated.

Notes: In the API, documents are called "pages" for backward compatibility.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The unique agent identifier.

Query Params
integer
Defaults to 1

Page number to return.

integer
Defaults to 20

Limit the number of documents to return. Defaults to 20.

string
enum
Defaults to desc

Sort direction for results.

Allowed:
string
enum
Defaults to all

Filter pages by crawl status.

Allowed:
string
enum
Defaults to all

Filter pages by index status.

Allowed:
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json