Skip to content

Interface: AsyncIngestionResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Ingestion / AsyncIngestionResponse

Interface: AsyncIngestionResponse

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

Response from async ingestion (sync=false). Returned with HTTP 202.

Remarks

The backend returns this when sync=false is passed as a query parameter. Use the sessionId to poll for progress and stats via the session endpoints.

Properties

documentId

documentId: string

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

Document ID assigned by the backend (UUID).


sessionId

sessionId: string

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

Session ID for tracking (UUID).


status

status: string

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

Initial status — always "pending" on creation.


statusUrl

statusUrl: string

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

URL path to check session status.