Get document details
Get detailed information about a specific document including extraction and workflow status
Request
- Base URLhttps://api.signalshq.io (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URL: /auth/login
Path parameters
Document ID
Client ID
Response
Successful Response
Version number of this document (1, 2, 3, etc.)
Whether this is the latest/current version of the document
DEPRECATED legacy display name — superseded by document_type_display_name. Dropped with the legacy columns in Phase 3.
Canonical document type id (FK to supported_document_types). Stable identifier for logic (e.g. pre-selecting the current type); pair with document_type_display_name.
Canonical document_identifier of the document's CURRENT type (e.g. 'SCH_K1_1065'), resolved from document_type_id. Source of truth after a reclassify — route on THIS, not on the legacy document_type enum / derived_document_type.
Single canonical 'what type is this document' display name, resolved BE-side with precedence document_type_id > derived_document_type > document_classification. Read THIS for display — no column-picking on the client.
NONE | AWAITING_SPLIT | BUNDLE | CHILD. AWAITING_SPLIT drives the FE 'review the split' entry CTA.
For a SPLIT_CHILD, its origin start page in the parent bundle.
For a SPLIT_CHILD, its origin end page in the parent bundle.
For a SPLIT_CHILD, the bundle parent it was sliced from.
Current status of document extraction (COMPLETED, FAILED, IN_PROGRESS, etc.)
Current status of document workflow (CREATED, IN_PROGRESS, APPROVED, REJECTED, etc.)
Which extraction generation a specific document is on.
Per-DOCUMENT (vs the per-doctype new_extraction_flow_enabled flag): the doctype flag says which generation a type uses going forward, but a document already extracted under the old generation stays on it until re-extracted. The frontend uses this to pick the v1/v2 review UI for each document.
- V2 — extracted via the v2 flow (data in the new typed store).
- V1 — extracted via the legacy flow (data in the legacy store).
Number of OPEN cross-document flags (duplicate/superseded) on this document.
Highest-priority OPEN flag_type — kept for routing/logic. None when no flags.
Severity of the top flag (ERROR | WARNING | INFO) — drives the badge colour.
Display-ready badge label for the top flag (backend-owned presentation), so the FE renders it without a per-type map.
When the document was created
When the document was last updated
Non-fatal advisory messages. Populated on upload when the target folder is already shared with the client — the uploaded document is immediately accessible to them via the folder share.
Example response
{
"version": 3,
"is_latest": true,
"derived_document_type": "W-2",
"document_type_identifier": "FORM_W2",
"document_type_display_name": "Form W-2"
}Changes
No recorded changes to this operation across all 1 revision of this API.