Interface: IngestDocumentRequest
@kortexya/reasoninglayer / IngestDocumentRequest
Interface: IngestDocumentRequest
Section titled “Interface: IngestDocumentRequest”Defined in: src/types/ingestion.ts:1081
Request to ingest a single document.
Remarks
Section titled “Remarks”Tenant ID is provided via the X-Tenant-Id header.
Properties
Section titled “Properties”document
Section titled “document”document:
DocumentSource
Defined in: src/types/ingestion.ts:1083
Document source: base64, URL, or a retained original (stored).
documentType?
Section titled “documentType?”
optionaldocumentType?:DocumentType|null
Defined in: src/types/ingestion.ts:1085
Document type hint (auto-detected if not provided).
ingestionConfig?
Section titled “ingestionConfig?”
optionalingestionConfig?:IngestionConfigDto|null
Defined in: src/types/ingestion.ts:1087
Markdown ingestion configuration (passed through to markdown pipeline).
ocrConfig?
Section titled “ocrConfig?”
optionalocrConfig?:OcrConfigDto|null
Defined in: src/types/ingestion.ts:1089
OCR/parsing configuration.
ownerId
Section titled “ownerId”ownerId:
string
Defined in: src/types/ingestion.ts:1091
Owner ID (user who owns the ingested data, UUID).
parseOnly?
Section titled “parseOnly?”
optionalparseOnly?:boolean
Defined in: src/types/ingestion.ts:1098
Parse the document to Markdown and return it without creating any
Psi-term. The engine answers 200 with no session, whatever sync is.
Default Value
Section titled “Default Value”false