GET
/v1/runs/{run_hash}/statsGet Run Stats
Retrieve detailed statistics about a specific runThis endpoint retrieves detailed real-time statistics about a specific run, including progress information, estimated time remaining, and task completion status.
Headers
| Key | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_KEY | Yes |
Response Field Explanations
id
string
Example: 300e9c5c127d421c90f431478d9a2cfb
object
string
Example: run
duration
string
Example: 0:00:15.175532
started_at
string
Example: 2025-02-10T14:30:55
ended_at
stringnull
Example: 2025-02-10T14:31:10
is_done
boolean
Example: true
percent_done
string
Example: 100%
eta
string
Example: ∞
total_tasks
integer
Example: 10
total_tasks_done
integer
Example: 10
total_tasks_left
integer
Example: 0
total_results
integer
Example: 6
results_total
integer
Example: 138
results_done
integer
Example: 6
current_task
string
Example: ""
updated_at
string
Example: 2025-02-10T14:31:10
Parameters
run_hashstring
RequiredExample:
300e9c5c127d421c90f431478d9a2cfbPro Tip
Poll this endpoint periodically to display real-time progress in your application.
Note
The eta field provides an estimate but may show "∞" for runs with unpredictable completion times.
Pro Tip
Use percent_done for progress bars and total_tasks_left to show remaining work.