Interface: IngestDocumentResponse
@kortexya/reasoninglayer / IngestDocumentResponse
Interface: IngestDocumentResponse
Section titled “Interface: IngestDocumentResponse”Defined in: src/types/ingestion.ts:1643
Response from document ingestion: the 200 (parseOnly) and 201 (inline
ingestion) body of POST /api/v1/ingest/document.
Properties
Section titled “Properties”documentId?
Section titled “documentId?”
optionaldocumentId?:string|null
Defined in: src/types/ingestion.ts:1649
Session-tracking id of the document (UUID) — the key that session
progress and stats use. For the document-registry id, read
ingestionStats.documentTermId.
error?
Section titled “error?”
optionalerror?:string|null
Defined in: src/types/ingestion.ts:1651
Error message if parsing failed.
ingestionStats
Section titled “ingestionStats”ingestionStats:
IngestionStatsDto
Defined in: src/types/ingestion.ts:1653
Markdown ingestion statistics (from the markdown pipeline).
markdown?
Section titled “markdown?”
optionalmarkdown?:string|null
Defined in: src/types/ingestion.ts:1655
Markdown the document parser produced, including OCR output.
metadata
Section titled “metadata”metadata:
ParsedDocumentMetadataDto
Defined in: src/types/ingestion.ts:1657
Document metadata.
parseStats
Section titled “parseStats”parseStats:
DocumentParseStatsDto
Defined in: src/types/ingestion.ts:1659
Document parsing statistics.
pendingReview?
Section titled “pendingReview?”
optionalpendingReview?:PendingReviewDto[]
Defined in: src/types/ingestion.ts:1661
Entities that need human review.
sessionId?
Section titled “sessionId?”
optionalsessionId?:string|null
Defined in: src/types/ingestion.ts:1663
Session ID for tracking and resumption (UUID).
speakerNotes?
Section titled “speakerNotes?”
optionalspeakerNotes?:SlideNotes[]
Defined in: src/types/ingestion.ts:1667
Speaker notes by slide position, from a read-only PowerPoint upload with speakerNotes.
success
Section titled “success”success:
boolean
Defined in: src/types/ingestion.ts:1665
Whether the entire operation was successful.
workbook?
Section titled “workbook?”
optionalworkbook?:WorkbookDetails
Defined in: src/types/ingestion.ts:1669
Source cell data, when workbookDetails was asked for an XLSX read.