Skip to content

Interface: AsyncBatchIngestionResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / AsyncBatchIngestionResponse

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

The HTTP 202 body of a batch ingestion that the engine queued.

Sent by POST /api/v1/ingest/document/batch?sync=false and by POST /api/v1/ingest/markdown/batch when the deployment runs a task queue. Every document of the batch is tracked under the one session. The wire keys are snake_case (document_ids, document_count).

The documentIds are session-tracking ids, not document-registry ids; see AsyncIngestionResponse.

documentCount: number

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

Number of documents enqueued.


documentIds: string[]

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

Session-tracking ids of the enqueued documents.


sessionId: string

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

Session id to poll (UUID).


status: string

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

Status at enqueue time. The engine always sends "pending".


statusUrl: string

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

Path of the session resource to poll (/api/v1/ingest/sessions/<sessionId>).