Tool
brain_daemon_status
Get the latest run status for a daemon
Get the latest run status for a daemon
Behavior
- HTTP
GET /brain/daemons/:id/status
Arguments
Name | Type | Required | Description |
|---|---|---|---|
id | string | • | Id of the ingestion daemon to act on, as returned by brain_daemons_list |
Response
Field | Type | Always | Description |
|---|---|---|---|
done | boolean | • | True once the run has finished, whether it succeeded or failed |
runId | string | • | Id of the run being reported; null when this daemon has never run |
status | string | • | Where the run stands: 'queued' waiting to start, 'running' in progress, 'done' finished, 'failed' gave up, 'none' this daemon has never run |
sources | array | • | Per-source progress as the connector reported it; the shape differs by connector type and is meant for display, not for binding a step to |
progress | object | • | Document counts for the run; null when nothing has been counted yet |
Try it
Get the latest run status for a daemon.