Get Run Status
deerflow_run_statusCheck a DeerFlow run's status and optionally wait up to 30 seconds for a terminal status (success, error, timeout, interrupted), reducing polling round-trips.
Instructions
Check the status of a DeerFlow run. Optionally wait up to wait_seconds (capped at 30s) for it to reach a terminal status before returning, to reduce polling round-trips. Terminal statuses: success, error, timeout, interrupted. Also returns live counters (llm_call_count, message_count, total_tokens) and elapsed/last-update times: the counters advance while the run is working, so if they stop moving for several minutes the run may be stalled — use deerflow_run_progress or deerflow_wait_activity for event-level detail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run id. | |
| thread_id | Yes | The thread id. | |
| wait_seconds | No | Seconds to poll for a terminal status before returning (0 = check once). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| run_id | Yes | ||
| status | Yes | ||
| terminal | Yes | ||
| thread_id | Yes | ||
| updated_at | No | ||
| stop_reason | Yes | ||
| total_tokens | No | ||
| message_count | No | ||
| llm_call_count | No | ||
| elapsed_seconds | No | ||
| seconds_since_update | No |