Start typing to search.

API Reference

Get run summary for a task

View Markdown
GET /api/metrics/data/summary/{taskId}

Aggregated run statistics from the runs table.

Operation IDgetMetricsSummary

Authentication

  • BearerAuth·http bearer·API key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.

Path parameters

taskIdintegerrequired

Success response body

200Task run summary

Task run summary

Content typeapplication/json

responseobject
8 properties
availableboolean
taskstring
total_runsinteger
success_countinteger
error_countinteger
total_itemsinteger
durationobject
3 properties
avg_msnumber | null
min_msnumber | null
max_msnumber | null
last_run_atstring | null · date-time

Error responses

404Resource not found

Resource not found

Content typeapplication/json

responseobject
2 properties
errorstring
messagestring
Example response
{
  "error": "NOT_FOUND",
  "message": "Resource not found"
}