Skip to content

Interface: IngestDocumentRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / IngestDocumentRequest

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

Request to ingest a single document.

Tenant ID is provided via the X-Tenant-Id header.

document: DocumentSource

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

Document source: base64, URL, or a retained original (stored).


optional documentType?: DocumentType | null

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

Document type hint (auto-detected if not provided).


optional ingestionConfig?: IngestionConfigDto | null

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

Markdown ingestion configuration (passed through to markdown pipeline).


optional ocrConfig?: OcrConfigDto | null

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

OCR/parsing configuration.


ownerId: string

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

Owner ID (user who owns the ingested data, UUID).


optional parseOnly?: 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.

false

optional speakerNotes?: boolean

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

Read the notes of an uploaded PowerPoint deck separately from its visible content.


optional workbookDetails?: boolean

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

Include typed source cells and formula text when reading an uploaded XLSX with parseOnly.