Check an ingestion run
workbench_kb_ingestion_statusThe state of one ingestion run started by workbench_kb_add_documents: PENDING / RUNNING / DONE / FAILED, chunks written, and the error when it failed. Read it when the user asks whether their documents are in yet, or before a search that needs them — don't poll in a loop; ingestion of a few documents takes under a minute. Pass the runId the add-documents call returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kbId | Yes | Knowledge base id. | |
| runId | Yes | Ingestion run id, from workbench_kb_add_documents. | |
| workspace | No | Workspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys. |