Interface: IngestDocumentRequest
@kortexya/reasoninglayer / IngestDocumentRequest
Interface: IngestDocumentRequest
Section titled “Interface: IngestDocumentRequest”Defined in: src/types/ingestion.ts:1268
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:1270
Document source: base64, URL, or a retained original (stored).
documentType?
Section titled “documentType?”
optionaldocumentType?:DocumentType|null
Defined in: src/types/ingestion.ts:1272
Document type hint (auto-detected if not provided).
ingestionConfig?
Section titled “ingestionConfig?”
optionalingestionConfig?:IngestionConfigDto|null
Defined in: src/types/ingestion.ts:1274
Markdown ingestion configuration (passed through to markdown pipeline).
ocrConfig?
Section titled “ocrConfig?”
optionalocrConfig?:OcrConfigDto|null
Defined in: src/types/ingestion.ts:1276
OCR/parsing configuration.
ownerId
Section titled “ownerId”ownerId:
string
Defined in: src/types/ingestion.ts:1278
Owner ID (user who owns the ingested data, UUID).
parseOnly?
Section titled “parseOnly?”
optionalparseOnly?:boolean
Defined in: src/types/ingestion.ts:1285
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”falsespeakerNotes?
Section titled “speakerNotes?”
optionalspeakerNotes?:boolean
Defined in: src/types/ingestion.ts:1287
Read the notes of an uploaded PowerPoint deck separately from its visible content.
workbookDetails?
Section titled “workbookDetails?”
optionalworkbookDetails?:boolean
Defined in: src/types/ingestion.ts:1289
Include typed source cells and formula text when reading an uploaded XLSX with parseOnly.