Skip to content

Interface: IngestionSyncOptions

@kortexya/reasoninglayer


@kortexya/reasoninglayer / IngestionSyncOptions

Interface: IngestionSyncOptions

Defined in: src/resources/ingestion.ts:54

Options controlling synchronous vs asynchronous ingestion.

Remarks

When sync is true (default), the request blocks until LLM extraction completes and returns the full result. When sync is false, the backend returns immediately with HTTP 202 and an IngestionSession handle for polling progress.

Properties

sync?

optional sync: boolean

Defined in: src/resources/ingestion.ts:63

Whether to process synchronously.

  • true (default): blocks until complete, returns full result.
  • false: returns immediately with an IngestionSession handle.

Default Value

true