Interface: AsyncBatchIngestionResponse
@kortexya/reasoninglayer / AsyncBatchIngestionResponse
Interface: AsyncBatchIngestionResponse
Section titled “Interface: AsyncBatchIngestionResponse”Defined in: src/types/ingestion.ts:42
The HTTP 202 body of a batch ingestion that the engine queued.
Remarks
Section titled “Remarks”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.
Properties
Section titled “Properties”documentCount
Section titled “documentCount”documentCount:
number
Defined in: src/types/ingestion.ts:44
Number of documents enqueued.
documentIds
Section titled “documentIds”documentIds:
string[]
Defined in: src/types/ingestion.ts:46
Session-tracking ids of the enqueued documents.
sessionId
Section titled “sessionId”sessionId:
string
Defined in: src/types/ingestion.ts:48
Session id to poll (UUID).
status
Section titled “status”status:
string
Defined in: src/types/ingestion.ts:50
Status at enqueue time. The engine always sends "pending".
statusUrl
Section titled “statusUrl”statusUrl:
string
Defined in: src/types/ingestion.ts:52
Path of the session resource to poll (/api/v1/ingest/sessions/<sessionId>).