Get Knowledge Base Documents
REST API - Knowledge
List Knowledge Base Documents
Get paginated list of documents in a knowledge base
GET
Get Knowledge Base Documents
Retrieve all documents stored in a specific knowledge base with pagination support. This endpoint returns document metadata including IDs and URLs.Documentation Index
Fetch the complete documentation index at: https://docs.xpander.ai/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Unique identifier of the knowledge base (UUID format)
Query Parameters
Page number (starting from 1)
Items per page (maximum 50)
Response
Array of document objects
Total number of documents in the knowledge base
Current page number
Number of items per page
Total number of pages available
Example Request
Example Response
Notes
- Documents are returned in the order they were added to the knowledge base
- The
document_urlfield contains the full URL to access the document file - Use this endpoint to audit what documents are in a knowledge base
- Combine with Get Document to retrieve full document details
Authorizations
API Key for authentication
Path Parameters
Query Parameters
Page number (starting from 1)
Required range:
x >= 1Items per page (max 50)
Required range:
1 <= x <= 50
