Skip to content

Interface: IngestDocumentRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Ingestion / IngestDocumentRequest

Interface: IngestDocumentRequest

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

Request to ingest a single document.

Remarks

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

Properties

document

document: DocumentSource

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

Document source (base64 or URL).


documentType?

optional documentType: DocumentType | null

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

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


ingestionConfig?

optional ingestionConfig: IngestionConfigDto | null

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

Markdown ingestion configuration (passed through to markdown pipeline).


ocrConfig?

optional ocrConfig: OcrConfigDto | null

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

OCR/parsing configuration.


ownerId

ownerId: string

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

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