Dashboards
Update Widget
Changed onUpdates a widget configuration and returns the id of the updated widget. Provided fields replace its configuration, omitted scalar fields are cleared, and lines replace the existing lines when provided.
put/v1/dashboards/{dashboardId}/widgets/{widgetId}
Request
- Base URLhttps://api.confident-ai.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
dashboardIdstring required
The id of the dashboard.
widgetIdstring required
The id of the widget.
Request body
Example request
{
"lines": [
{
"extraQueryParams": {
"metricMetadataKey": "tokenCount"
}
}
]
}Response
The id of the updated widget.
Changes
- info
added the new optional request property
- info
added the new optional request property
// - info
the request property
became nullable
- info
- info
endpoint added
- info