Dashboards
Create Widget
Changed onAdds a widget configuration to a dashboard and returns the id of the created widget. Use the dashboard detail endpoint for its full configuration, or a query endpoint for computed widget data.
post/v1/dashboards/{dashboardId}/widgets
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.
Request body
Example request
{
"lines": [
{
"extraQueryParams": {
"metricMetadataKey": "tokenCount"
}
}
]
}Response
The id of the created 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