axiom.updateDashboardChart applies a JSON merge patch to one chart. Pass the current dashboard version or overwrite: true; chart.id must match chartId when present.
automations/axiom-update-dashboard-chart.automation.ts
Inputs
dashboardUid, chartId, and the JSON merge patch chart are required. If chart.id is present, it must equal chartId. By default, overwrite is false, so provide the dashboard’s current positive decimal version string; alternatively set overwrite: true. The string preserves Axiom’s 64-bit version exactly. Optional message records the change.
A JSON merge patch changes only the supplied chart fields. Values set to null follow Axiom’s merge-patch behavior and can remove optional fields.
Output
Returnsstatus ("created" or "updated") and the complete resulting dashboard resource. overwritten appears when Axiom reports it.
Permission and failures
The API token needs the organization-leveldashboards|update capability. Axiom returns 404 for a missing dashboard or chart, 400 for an invalid patch, and 412 for a version conflict. This mutation is not retried automatically after an ambiguous provider response.