Skip to main content
PUT
/
api
/
v2
/
dashboards
/
{id}
Update Dashboard
curl --request PUT \
  --url https://api.hyperdx.io/api/v2/dashboards/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Updated Dashboard Name",
  "tiles": [
    {
      "id": "65f5e4a3b9e77c001a901234",
      "name": "Updated Time Series Chart",
      "x": 0,
      "y": 0,
      "w": 6,
      "h": 3,
      "asRatio": false,
      "series": [
        {
          "type": "time",
          "dataSource": "events",
          "aggFn": "count",
          "where": "level:error",
          "groupBy": []
        }
      ]
    },
    {
      "name": "New Number Chart",
      "x": 6,
      "y": 0,
      "w": 6,
      "h": 3,
      "asRatio": false,
      "series": [
        {
          "type": "number",
          "dataSource": "events",
          "aggFn": "count",
          "where": "level:info"
        }
      ]
    }
  ],
  "tags": [
    "production",
    "updated"
  ]
}
'
{
  "data": {
    "id": "65f5e4a3b9e77c001a567890",
    "name": "Updated Dashboard Name",
    "tiles": [
      {
        "id": "65f5e4a3b9e77c001a901234",
        "name": "Updated Time Series Chart",
        "x": 0,
        "y": 0,
        "w": 6,
        "h": 3,
        "asRatio": false,
        "series": [
          {
            "type": "time",
            "dataSource": "events",
            "aggFn": "count",
            "where": "level:error",
            "groupBy": []
          }
        ]
      },
      {
        "id": "65f5e4a3b9e77c001a901236",
        "name": "New Number Chart",
        "x": 6,
        "y": 0,
        "w": 6,
        "h": 3,
        "asRatio": false,
        "series": [
          {
            "type": "number",
            "dataSource": "events",
            "aggFn": "count",
            "where": "level:info"
          }
        ]
      }
    ],
    "tags": [
      "production",
      "updated"
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Dashboard ID

Body

application/json
name
string
Example:

"Updated Dashboard Name"

tiles
object[]
tags
string[]
Example:
["production", "updated"]

Response

Successfully updated dashboard

data
object