Query Dashboard Data

Fetches computed data for all widgets on a dashboard, or for a provided subset of widget IDs. Request time range fields override widget defaults for this query only.

Path parameters

dashboardIdstringRequired
The id of the dashboard.

Headers

CONFIDENT_API_KEYstringRequired
The API key of your Confident AI project.

Request

Optional time range and widget filter for the dashboard data query. Send {} to use each widget’s saved/default time range.

startTimestringOptionalformat: "date-time"

ISO 8601 start time for the query range. Must be provided with endTime.

endTimestringOptionalformat: "date-time"

ISO 8601 end time for the query range. Must be provided with startTime.

granularityenumOptional
Optional bucket granularity override for the query.
widgetIdslist of stringsOptional
Optional subset of widget IDs to query. If omitted, all widgets on the dashboard are queried.

Response

The computed data for the requested dashboard widgets.
successboolean
Indicates if the request was successful.
dataobject
The batch query payload.
deprecatedboolean
Indicates if this endpoint is deprecated.