API Reference
Execute multiple widget data queries in one request
POST
/api/dashboards/{id}/widgets/data
Parses the dashboard YAML once, loads job context once, reuses connector instances, and runs selected widgets with a concurrency cap. Per-widget errors are returned inline without failing the whole batch.
Operation IDexecuteDashboardWidgets
Authentication
- BearerAuth
http bearerAPI key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.
Path parameters
idintegerrequiredResource ID
Request body
Content typeapplication/json
requestobject1 property
widget_idsarray<string>Subset of widget ids to refresh (defaults to all data widgets)
Array items
itemstringSuccess response body
200Per-widget data or errors
Per-widget data or errors
Content typeapplication/json
responseobject1 property
widgetsobjectAdditional properties
valueobject2 properties
dataunknownWidget-specific payload when the query succeeded
errorstringError message when this widget failed (other widgets may still succeed)
Error responses
400Validation error
Validation error
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "VALIDATION_ERROR",
"message": "Invalid input"
}404Resource not found
Resource not found
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "NOT_FOUND",
"message": "Resource not found"
}