API Reference
Get run summary for a task
GET
/api/metrics/data/summary/{taskId}
Aggregated run statistics from the runs table.
Operation IDgetMetricsSummary
Authentication
- BearerAuth
http bearerAPI key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.
Path parameters
taskIdintegerrequiredSuccess response body
200Task run summary
Task run summary
Content typeapplication/json
responseobject8 properties
availablebooleantaskstringtotal_runsintegersuccess_countintegererror_countintegertotal_itemsintegerdurationobject3 properties
avg_msnumber | nullmin_msnumber | nullmax_msnumber | nulllast_run_atstring | null · date-timeError responses
404Resource not found
Resource not found
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "NOT_FOUND",
"message": "Resource not found"
}