SDK ReferenceDocument RAG
List Documents
Retrieve all documents within a specific index.
Description
The /index/get-all-documents endpoint allows you to retrieve a list of all documents within a specified index.
HTTP Request
GET /index/get-all-documents
Authentication
All requests must include an Authorization header with a valid API key.
Headers
| Key | Value |
|---|---|
| Authorization | Bearer YOUR_API_KEY |
| Content-Type | application/json |
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| index | string | The ID of the index to query |
Request Example
Response
Success
Status Code: 200 OK
Body: