v1
latestOpenAPI 3.1.02026-07-263580186.3 KBRetrieve a single file by ID
Retrieve detailed information for a single file by its ID. Only files that the authenticated user is authorized to access will be returned. Returns 404 if the file does not exist or the user does not have access.
Query Parameters:
- include_content: Set to 'true' to include the full text content of the document (default: false)
The response includes comprehensive document details including:
- Basic metadata (id, filename, title, extension, dates, page count)
- Full text content of the document (only when include_content=true)
- Processing status (status, status_vision, status_detail if failed)
- Associated tags and workspace information
- File size (if available)
- Parser/ingestion pipeline (if available, after parsing starts)
- Signature (TLSH hash for duplicate detection)
- Facet content types and nested attribute values (full expanded with attribute definitions)
Public datasets: reachable by instance admins (MANAGE_PUBLIC_DATASET) unconditionally, and by a company that has opted in (allow_access_to_public_datasets) with a workspace-scoped API key granting the file's public workspace.
Path parameters
A unique integer value identifying this Document.
Query parameters
When true, include the full text content of the document in the response (default: false). Recommended to only enable when needed as content can be large.
Response
Detailed file information. Always uses full expanded content types (Tier 3) with breadcrumb, code, and attribute definitions including type, required, and choices.