Monitoring & Collection/Grafana Dashboards
POSTGrafanaSince 1.0SynchronousAuth Required
ValidateDashboardPanels
Validate that a set of panels fits within canvas bounds and has no overlaps
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
panelsListRequiredPanels for this resource
Example: (nested array)
panelIdStringUnique identifier of the panel within the dashboard
Example: panel-cpu-001
xIntegerHorizontal grid position of the panel
Example: 20
yIntegerVertical grid position of the panel
Example: 20
wIntegerWidth of the panel in grid units
Example: 12
hIntegerHeight of the panel in grid units
Example: 8
maxPanelOverrideIntegerRequiredOverride max panel count for this validation request
Example: 20
Responses
Endpoint
POST/api/v1/monitoring/dashboards/validate
/api/v1/monitoring/dashboards/validate
Request Example
curl -X POST '{host}/api/v1/monitoring/dashboards/validate' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"panels":"(nested array)","maxPanelOverride":20}'
Response Example
200{
"valid": true,
"errorCode": "INVALID_CONFIG",
"conflicts": [
{}
],
"boundErrors": [
{}
],
"panelCount": 6,
"maxPanels": 20,
"suggestion": "consider increasing the threshold"
}Change History
This API has no change history records yet.
