Ingestion
List Source Files
List files available for ingestion from a data source (S3, SharePoint).
This endpoint queries the actual source storage (not the vector DB) to show files before they are ingested. Use this to enable selective file ingestion.
Request Body
| Field | Type | Description |
|---|---|---|
data_connector_name | str | Name of the data connector to query |
prefix | str | Optional path prefix to filter files |
search_query | str | Optional filename search (case-insensitive) |
limit | int | Max files to return (default: 1000, max: 10000) |
offset | int | Number of files to skip for pagination |
Response
files: List of file objects with path, size, last_modifiedtotal_count: Total number of matching files in the sourcenext_offset: Offset for next page (null if no more pages)selection_enabled: False if total_count > 10000 (use full ingestion instead)
POST
Python
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
