Get the data of a live dashboard widget

Returns the data of one live widget of the workflow's active version: the answer of the request/response entry point the widget names, without each page load starting an execution. The answer is cached for the widget's ttl_s (5 to 3600 s) in Redis, shared by every api replica, so loads inside the ttl run no execution and concurrent loads of an expired widget run one across all replicas. cached is false only for the load that ran the entry point. If a refresh times out or the workflow fails, the failure is remembered for 5 seconds (every load in that time answers it without starting the workflow again) and the error carries the last good value with its age (last, age_s) when there is one. At most WFV2_LIVE_WIDGET_RATE_PER_MIN refreshes per company start per minute (default 60); a load that would start another is 429 with Retry-After. Query parameters are ignored: the dashboard spec declares none. The read of the active dashboard has a 10 s deadline of its own (504 timeout). The caller reads workflows of the companies its company read ability covers; any other workflow, a version without a dashboard, an unknown widget and a widget whose source is not live are all 404. A deployment that has not set WFV2_ORCHESTRATOR_INTERNAL_URL and WFV2_INTERNAL_TOKEN_KEYS answers 503 not_configured.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The workflow id (UUID).

string
required
^[a-z][a-z0-9_]{0,62}$

The widget id in the dashboard of the version pinned in the environment.

Query Params
uuid

The workflow environment (UUID) whose pinned version answers the widget. Absent means the company's production environment.

Responses

401

You are not authorized

404

The item you were looking for does not exist

500

An unexpected error was encountered.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json