Interface: DocumentBatchResultDto
@kortexya/reasoninglayer / DocumentBatchResultDto
Interface: DocumentBatchResultDto
Section titled “Interface: DocumentBatchResultDto”Defined in: src/types/ingestion.ts:1225
Result for a single document in batch processing.
Properties
Section titled “Properties”documentId
Section titled “documentId”documentId:
string
Defined in: src/types/ingestion.ts:1227
Document ID from the request.
error?
Section titled “error?”
optionalerror?:string|null
Defined in: src/types/ingestion.ts:1229
Error message (if failed).
errorCode?
Section titled “errorCode?”
optionalerrorCode?:SessionDocumentFailureCode
Defined in: src/types/ingestion.ts:1235
The typed reason error describes when a bound constraint
refused the item (reasoninglayer#1253): the code its synchronous 409
and its session document answer.
errorRefusal?
Section titled “errorRefusal?”
optionalerrorRefusal?:SessionDocumentRefusal
Defined in: src/types/ingestion.ts:1237
The refused term, its feature and its constraint when a bound constraint refused the item.
ingestionStats?
Section titled “ingestionStats?”
optionalingestionStats?:IngestionStatsDto|null
Defined in: src/types/ingestion.ts:1239
Ingestion statistics (if successful).
markdown?
Section titled “markdown?”
optionalmarkdown?:string|null
Defined in: src/types/ingestion.ts:1241
Markdown the document parser produced (if successful).
metadata?
Section titled “metadata?”
optionalmetadata?:ParsedDocumentMetadataDto|null
Defined in: src/types/ingestion.ts:1243
Document metadata (if successful).
parseStats?
Section titled “parseStats?”
optionalparseStats?:DocumentParseStatsDto|null
Defined in: src/types/ingestion.ts:1245
Parse statistics (if successful).
success
Section titled “success”success:
boolean
Defined in: src/types/ingestion.ts:1247
Whether this document was processed successfully.