Docs
DocumentationQuery ReferenceAPI Reference
Open Console→→
DocumentationQuery ReferenceAPI Reference

Get started

IntroductionSend dataQuery dataPaginationAPI limits

Annotations

List all annotationsGETRetrieve annotationGETCreate annotationPOSTUpdate annotationPUTDelete annotationDELETE

API tokens

List all API tokensGETRetrieve API tokenGETCreate API tokenPOSTRegenerate API tokenPOSTDelete API tokenDELETE

Dashboards

List all dashboardsGETRetrieve dashboardGETCreate dashboardPOSTUpdate dashboardPUTPatch dashboard elementPATCHDelete dashboardDELETE

Datasets

List all datasetsGETRetrieve datasetGETList all fields in datasetGETRetrieve field in datasetGETCreate datasetPOSTIngest dataPOSTRun queryPOSTRun query (legacy)POSTTrim datasetPOSTUpdate datasetPUTUpdate fieldPUTVacuum datasetPOSTDelete datasetDELETE

Edge

Ingest data to edge deploymentIngest Splunk HEC eventsIngest raw Splunk HEC eventsCheck Splunk HEC healthRun APL query to edge deploymentRun batch query to edge deploymentRun MPL query to edge deploymentGet metrics for a datasetGet metric tags for a datasetGet metric tag values for a datasetGet tags for a datasetGet tag values for a dataset

Map fields

List all map fieldsGETCreate map fieldPOSTUpdate list of map fieldsPUTDelete map fieldsDELETE

Monitors

List all monitorsGETRetrieve monitorGETRetrieve monitor historyGETCreate monitorPOSTUpdate monitorPUTDelete monitorDELETE

Notifiers

List all notifiersGETRetrieve notifierGETCreate notifierPOSTUpdate notifierPUTDelete notifierDELETE

Organizations

List all orgsGETRetrieve orgGETCreate orgPOSTUpdate orgPUTProvision orgPOST

Role-based access control

List all rolesGETRetrieve roleGETList all groupsGETRetrieve groupGETCreate rolePOSTCreate groupPOSTUpdate rolePUTUpdate groupPUTDelete roleDELETEDelete groupDELETE

Saved queries

List all saved queriesGETRetrieve saved queryGETCreate saved queryPOSTUpdate saved queryPUTDelete saved queryDELETE

Users

Retrieve current userGETList all usersGETRetrieve userGETCreate userPOSTUpdate current userPUTUpdate user rolePUTDelete user from orgDELETE

Views

List all viewsGETRetrieve viewGETCreate viewPOSTUpdate viewPUTDelete viewDELETE

Virtual fields

List all virtual fieldsGETRetrieve virtual fieldGETCreate virtual fieldPOSTUpdate virtual fieldPUTDelete virtual fieldDELETE
Dashboards

Update dashboard

PUT/v2/dashboards/uid/{uid}

Update a dashboard by UID.

Parameters #

PropertyTypeLocationDescription
uidstringRequiredpath—

Body #

application/json
PropertyTypeDescription
dashboardobjectRequired—
└namestringRequired—
└ownerstringRequiredUser ID of the dashboard owner. Use X-AXIOM-EVERYONE to make the dashboard accessible to all users in the organization.
└descriptionstring—
└chartsunknown[]Required—
└layoutobject[]Required—
└istringRequired—
└xintegerRequired—
└yintegerRequired—
└wintegerRequired—
└hintegerRequired—
└minWinteger—
└minHnumber—
└maxWinteger—
└maxHinteger—
└staticboolean—
└refreshTimeintegerRequired—
└schemaVersionintegerRequired—
└againststringRelative 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.
└againstTimestampstringAbsolute 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.
└timeWindowStartstringRequiredStart 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).
└timeWindowEndstringRequiredEnd 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).
└uidstringOptional dashboard UID. Must contain only letters, numbers, underscores, or hyphens, with length 1-128 when provided.
messagestring—
overwriteboolean—
uidstringStable external dashboard identifier (org-scoped unique).
versioninteger<int64>Required for updates when overwrite is false.

Request #

curl -X PUT 'https://api.axiom.co/v2/dashboards/uid/UID' \
  -H 'Authorization: Bearer API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"dashboard":{"name":"string","owner":"string","description":"string","charts":["string"],"layout":[{"i":"string","x":0,"y":0,"w":0,"h":0,"minW":0,"minH":0,"maxW":0,"maxH":0,"static":true}],"refreshTime":15,"schemaVersion":2,"against":"-1h","againstTimestamp":"string","timeWindowStart":"string","timeWindowEnd":"string","uid":"string"},"message":"string","overwrite":false,"uid":"string","version":0}'
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 dashboard
application/json
201Created dashboard
application/json
400Invalid dashboard payload
application/json
409Dashboard already exists
application/json
412Version conflict
application/json
PropertyTypeDescription
dashboardobjectRequired—
└createdAtstring<date-time>Required—
└createdBystringRequired—
└dashboardobjectRequired—
└namestringRequired—
└ownerstringRequiredUser ID of the dashboard owner. Use X-AXIOM-EVERYONE to make the dashboard accessible to all users in the organization.
└descriptionstring—
└chartsunknown[]Required—
└layoutobject[]Required—
└istringRequired—
└xintegerRequired—
└yintegerRequired—
└wintegerRequired—
└hintegerRequired—
└minWinteger—
└minHnumber—
└maxWinteger—
└maxHinteger—
└staticboolean—
└refreshTimeintegerRequired—
└schemaVersionintegerRequired—
└againststringRelative 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.
└againstTimestampstringAbsolute 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.
└timeWindowStartstringRequiredStart 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).
└timeWindowEndstringRequiredEnd 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).
└uidstringOptional dashboard UID. Must contain only letters, numbers, underscores, or hyphens, with length 1-128 when provided.
└idstringRequired—
└uidstringRequired—
└updatedAtstring<date-time>Required—
└updatedBystringRequired—
└versioninteger<int64>Required—
overwrittenboolean—
statusstringRequired—
Was this page helpful?
Suggest edits on GitHub
PreviousCreate dashboardNextPatch dashboard element
On this page
ParametersBodyRequestResponse