Retrieve a paginated list of files (documents) accessible to the authenticated user.
Results are ordered by upload date (newest first) by default.
When using the search parameter, results are ordered by relevance.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Filter by created_at date range (inclusive, date-only strings treated as 00:00:00, e.g., ?created_at_after=2024-01-01&created_at_before=2024-01-01T23:59:59)
Filter by created_at date range (inclusive, date-only strings treated as 00:00:00, e.g., ?created_at_after=2024-01-01&created_at_before=2024-01-01T23:59:59)
Filter by file extensions (comma-separated, e.g., ?extension=pdf,docx)
Filter by external document type (case-insensitive partial match). Only returns documents that have external metadata. Example: ?external_metadata__doc_type=gitlab matches 'gitlab issue', 'gitlab ticket', 'Gitlab MR', etc.
Filter by external document ID (exact match). Matches the doc_id stored in the document's external metadata. Only returns documents that have external metadata. Example: ?external_metadata__external_id=SN-12345
Filter by filename (case-insensitive partial match)
Filter by group IDs (comma-separated, e.g., ?group_id=1,2,3)
Include detail fields (e.g., TLSH signature for duplicate detection, parser/ingestion pipeline). Default: false.
Maximum number of documents to return (default: 50, minimum: 1, maximum: 500)
Sort results by field. Prefix with '-' for descending order. Allowed fields: created_at, title, filename. Default: -created_at (newest first). Ignored when 'search' is provided (results ordered by relevance).
A page number within the paginated result set.
Number of results to return per page.
Optional semantic search query. When provided, results are ordered by relevance.
When true (and search is provided), include top relevant chunk(s) per document.
Max number of relevant chunks to return per document when search_details=true (1-10, default: 3).
Filter by status values (comma-separated, e.g., ?status=pending,embedded)
embedded, embedding, embedding_failed, fail, parsing, parsing_failed, pending, updating Filter by vision status values (comma-separated, e.g., ?status_vision=pending,embedded)
-, embedded, fail, pending, processing Filter by tag IDs (comma-separated, e.g., ?tag_id=1,2,3)
Filter by title (case-insensitive partial match)
Filter by total pages range (e.g., ?total_pages_min=10&total_pages_max=50)
-2147483648 <= x <= 2147483647Filter by total pages range (e.g., ?total_pages_min=10&total_pages_max=50)
-2147483648 <= x <= 2147483647Filter by updated_at date range (inclusive, date-only strings treated as 00:00:00, e.g., ?updated_at_after=2024-01-01&updated_at_before=2024-01-01T23:59:59)
Filter by updated_at date range (inclusive, date-only strings treated as 00:00:00, e.g., ?updated_at_after=2024-01-01&updated_at_before=2024-01-01T23:59:59)
Filter by upload session UUID (e.g., ?upload_session_uuid=123e4567-e89b-12d3-a456-426614174000)
Filter by workspace IDs (comma-separated, e.g., ?workspace_id=1,2,3)