Interface: AsyncIngestionResponse
@kortexya/reasoninglayer / AsyncIngestionResponse
Interface: AsyncIngestionResponse
Section titled “Interface: AsyncIngestionResponse”Defined in: src/types/ingestion.ts:19
The HTTP 202 body of a single-document ingestion that the engine queued.
Remarks
Section titled “Remarks”Sent by POST /api/v1/ingest/document?sync=false,
POST /api/v1/ingest/markdown?sync=false (when the deployment runs a task
queue) and POST /api/v1/ingest/rdf?sync=false. The wire keys are
snake_case (session_id, document_id, status_url).
documentId is the session-tracking id of the document, not its
document-registry id. The registry id (the one GET /api/v1/documents
lists) appears as DocumentStatsDto.documentTermId in the session
stats once the document completes.
Properties
Section titled “Properties”documentId
Section titled “documentId”documentId:
string
Defined in: src/types/ingestion.ts:21
Session-tracking id of the queued document (UUID).
sessionId
Section titled “sessionId”sessionId:
string
Defined in: src/types/ingestion.ts:23
Session id to poll (UUID).
status
Section titled “status”status:
string
Defined in: src/types/ingestion.ts:25
Status at enqueue time. The engine always sends "pending".
statusUrl
Section titled “statusUrl”statusUrl:
string
Defined in: src/types/ingestion.ts:27
Path of the session resource to poll (/api/v1/ingest/sessions/<sessionId>).