Skip to content

Type Alias: DocumentStatus

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Documents / DocumentStatus

Type Alias: DocumentStatus

DocumentStatus = "ingesting" | "enriching" | "complete" | "failed"

Defined in: src/types/documents.ts:154

Lifecycle status of a registered document.

Remarks

The wire format carries this as a plain string. These are the four values the backend assigns during ingestion; a document whose registry row is missing is reported as "unknown" by DocumentSummary, which is why response types keep status as a plain string while the list filter is constrained to this union.