API Reference
Execute a dashboard action widget
/api/dashboards/{id}/widgets/{widgetId}/action
Validates form values against the action widget schema, evaluates arguments_expr/args, then dispatches run_task, job_run, or connector_method. Creates a dashboard_action_runs audit row. In-flight and cooldown checks apply per dashboard+widget. Open to any authenticated user.
Operation IDexecuteDashboardAction
Authentication
- BearerAuth
http bearerAPI key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.
Path parameters
idintegerrequiredResource ID
widgetIdstringrequiredRequest body
Content typeapplication/json
requestobject2 properties
formobjectForm field values keyed by field key (validated against the action widget's form schema).
Additional properties are allowed.
rowobjectOptional row context (e.g. from a field_mapping row_action) merged into arguments_expr.
Additional properties are allowed.
Success response body
201Action accepted
Action accepted
Content typeapplication/json
responseobject3 properties
action_run_idintegerrequiredrun_idintegerPresent when kind is run_task
job_run_idintegerPresent when kind is job_run
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"
}409In-flight action or cooldown
In-flight action or cooldown
No response content schema is documented.