Batch-query indexing status of one or more documents
Return the current lifecycle state of a batch of documents.
Designed for the front-end’s status polling loop: the page sends every in-flight document id at once so per-document round-trips do not multiply with concurrency.
Args:
knowledge_base_id (str):
The target knowledge base id.
ids (str):
Comma-separated document ids.
user_id (str):
Injected authenticated user ID.
service (KnowledgeBaseService):
Injected knowledge base service.
Returns:
ListKnowledgeDocumentStatusResponse:
Views for the matched documents.
Headers
Caller's user ID. Temporary header-based identity; will be replaced by JWT auth.
Path Parameters
The knowledge base id.
Query Parameters
Comma-separated list of document ids to query. Missing ids are silently omitted from the response.
Response
Successful Response
Response body for batch document-status polling.
Subset of the requested documents that still exist. Missing ids are silently omitted — clients may legitimately ask about a document that was deleted between two polls.