List Files
List all indexed files in a database.
Returns all files that have been indexed into the database
(excludes soft-deleted files where is_deleted=true).
Headers:
- Authorization: Bearer {api_key} - Captain API key for authentication
- X-Organization-ID: Organization UUID
Args:
database_name: Name of the database to list files from
limit: Maximum number of files to return (default 100)
offset: Offset for pagination (default 0)
Returns:
List of file objects with file_id, file_name, created_at, updated_at
Headers
Authorization
Captain API key for authentication
X-Organization-ID
Organization UUID
Request
This endpoint expects an object.
database_name
limit
offset
Response
Successful Response