Start typing to search.

API Reference

Execute a dashboard action widget

View Markdown
POST /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 bearer·API key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.

Path parameters

idintegerrequired

Resource ID

widgetIdstringrequired

Request body

Content typeapplication/json

requestobject
2 properties
formobject

Form field values keyed by field key (validated against the action widget's form schema).

Additional properties are allowed.

rowobject

Optional 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

responseobject
3 properties
action_run_idintegerrequired
run_idinteger

Present when kind is run_task

job_run_idinteger

Present when kind is job_run

Error responses

400Validation error

Validation error

Content typeapplication/json

responseobject
2 properties
errorstring
messagestring
Example response
{
  "error": "VALIDATION_ERROR",
  "message": "Invalid input"
}

404Resource not found

Resource not found

Content typeapplication/json

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

409In-flight action or cooldown

In-flight action or cooldown

No response content schema is documented.