Skip to content

Interface: IngestDocumentResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Ingestion / IngestDocumentResponse

Interface: IngestDocumentResponse

Defined in: src/types/ingestion.ts:836

Response from document ingestion.

Properties

error?

optional error: string | null

Defined in: src/types/ingestion.ts:838

Error message if parsing failed.


ingestionStats

ingestionStats: IngestionStatsDto

Defined in: src/types/ingestion.ts:840

Markdown ingestion statistics (from the markdown pipeline).


metadata

metadata: ParsedDocumentMetadataDto

Defined in: src/types/ingestion.ts:842

Document metadata.


parseStats

parseStats: DocumentParseStatsDto

Defined in: src/types/ingestion.ts:844

Document parsing statistics.


pendingReview?

optional pendingReview: PendingReviewDto[]

Defined in: src/types/ingestion.ts:846

Entities that need human review.


sessionId?

optional sessionId: string | null

Defined in: src/types/ingestion.ts:848

Session ID for tracking and resumption (UUID).


success

success: boolean

Defined in: src/types/ingestion.ts:850

Whether the entire operation was successful.