Update dashboard
Replaces the dashboard document for the UID. Set version to the current version, or overwrite: true to skip the check; a stale version returns 412. Creates the dashboard and returns 201 if the UID doesn't exist.
Parameters
| Property | Type | Location | Description |
|---|---|---|---|
uid | stringRequired | path |
Body
application/json| Property | Type | Description |
|---|---|---|
dashboard | objectRequired | |
name | stringRequired | |
owner | stringRequired | User ID of the dashboard owner. Use X-AXIOM-EVERYONE to make the dashboard accessible to all users in the organization. |
description | string | |
charts | unknown[]Required | |
layout | object[]Required | |
i | stringRequired | |
x | integerRequired | |
y | numberRequired | |
w | integerRequired | |
h | numberRequired | |
min | integer | |
min | number | |
max | integer | |
max | integer | |
static | boolean | |
sections | object[] | |
id | stringRequired | |
title | stringRequired | |
default | boolean | |
refresh | integerRequired | |
schema | integerRequired | |
against | string | Relative time comparison offset. Compares the current time window against a previous period offset by this duration. Mutually exclusive with againstTimestamp — setting one clears the other. Use an empty string or omit to disable comparison. |
against | string | Absolute or relative timestamp to compare against. Mutually exclusive with against — setting one clears the other. Accepts ISO 8601, now-{duration} (e.g. now-1h), or epoch milliseconds as a string. |
time | stringRequired | Start of the dashboard time range. Use qr-now-{duration} for a quick range relative to now, where duration is a number followed by s (seconds), m (minutes), h (hours), d (days), or w (weeks). Examples: qr-now-5m, qr-now-1h, qr-now-7d. Alternatively, use a Unix epoch millisecond timestamp as a string (e.g. 1704067200000). |
time | stringRequired | End of the dashboard time range. Use qr-now for a rolling window that tracks the current time (pair with a qr-now-{duration} start), or a Unix epoch millisecond timestamp as a string (e.g. 1704153600000). |
uid | string | Optional dashboard UID. Must contain only letters, numbers, underscores, or hyphens, with length 1-128 when provided. |
label | string[] | Existing label IDs; replaces assignments when supplied, clears with [], and preserves them when omitted or null. |
message | string | |
overwrite | boolean | |
uid | string | Stable external dashboard identifier (org-scoped unique). |
version | integer | Required for updates when overwrite is false. |
Request
Try itRun this request against your Axiom organization
Credentials stay in this browser tab and are only sent to Axiom when you run the request.
Response
200Updated dashboard201Created dashboard400Invalid dashboard payload409Dashboard already exists412Version conflict| Property | Type | Description |
|---|---|---|
dashboard | objectRequired | |
created | string | Creation time, present only for managed dashboards. |
created | string | Creator, present only for managed dashboards. |
dashboard | objectRequired | |
name | stringRequired | |
owner | stringRequired | User ID of the dashboard owner. Use X-AXIOM-EVERYONE to make the dashboard accessible to all users in the organization. |
description | string | |
charts | unknown[]Required | |
layout | object[]Required | |
i | stringRequired | |
x | integerRequired | |
y | numberRequired | |
w | integerRequired | |
h | numberRequired | |
min | integer | |
min | number | |
max | integer | |
max | integer | |
static | boolean | |
sections | object[] | |
id | stringRequired | |
title | stringRequired | |
default | boolean | |
refresh | integerRequired | |
schema | integerRequired | |
against | string | Relative time comparison offset. Compares the current time window against a previous period offset by this duration. Mutually exclusive with againstTimestamp — setting one clears the other. Use an empty string or omit to disable comparison. |
against | string | Absolute or relative timestamp to compare against. Mutually exclusive with against — setting one clears the other. Accepts ISO 8601, now-{duration} (e.g. now-1h), or epoch milliseconds as a string. |
time | stringRequired | Start of the dashboard time range. Use qr-now-{duration} for a quick range relative to now, where duration is a number followed by s (seconds), m (minutes), h (hours), d (days), or w (weeks). Examples: qr-now-5m, qr-now-1h, qr-now-7d. Alternatively, use a Unix epoch millisecond timestamp as a string (e.g. 1704067200000). |
time | stringRequired | End of the dashboard time range. Use qr-now for a rolling window that tracks the current time (pair with a qr-now-{duration} start), or a Unix epoch millisecond timestamp as a string (e.g. 1704153600000). |
uid | string | Optional dashboard UID. Must contain only letters, numbers, underscores, or hyphens, with length 1-128 when provided. |
id | stringRequired | |
label | string[]Required | |
label | string[] | Names of assigned labels, including with exclude=labels; [] when unassigned. |
labels | object[] | |
color | objectRequired | |
name | stringRequired | |
type | stringRequired | |
description | string | |
id | stringRequired | |
name | stringRequired | |
type | stringRequired | Managed dashboards are saved documents; integration dashboards are read-only and generated for matching datasets. |
uid | stringRequired | Managed dashboard UID, or stable integration dashboard ID for read requests. |
updated | string | Last save time, present only for managed dashboards. |
updated | string | Last editor, present only for managed dashboards. |
updated | boolean | true when the last save came from the MCP server |
version | integer | Save version, present only for managed dashboards. |
overwritten | boolean | |
status | stringRequired |