跳转到主要内容
GET
/
api
/
v2
/
dashboards
/
{id}
获取仪表盘详情
curl --request GET \
  --url https://api.hyperdx.io/api/v2/dashboards/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "65f5e4a3b9e77c001a567890",
    "name": "Infrastructure Monitoring",
    "tags": [
      "infrastructure",
      "monitoring"
    ],
    "tiles": [
      {
        "asRatio": false,
        "h": 3,
        "id": "65f5e4a3b9e77c001a901234",
        "name": "Server CPU",
        "series": [
          {
            "aggFn": "avg",
            "dataSource": "metrics",
            "field": "cpu.usage",
            "groupBy": [],
            "type": "time",
            "where": "host:server-01"
          }
        ],
        "w": 6,
        "x": 0,
        "y": 0
      },
      {
        "asRatio": false,
        "h": 3,
        "id": "65f5e4a3b9e77c001a901235",
        "name": "Memory Usage",
        "series": [
          {
            "aggFn": "avg",
            "dataSource": "metrics",
            "field": "memory.usage",
            "groupBy": [],
            "type": "time",
            "where": "host:server-01"
          }
        ],
        "w": 6,
        "x": 6,
        "y": 0
      }
    ]
  }
}

授权

Authorization
string
header
必填

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

路径参数

id
string
必填

仪表盘 ID

响应

已成功获取仪表盘

data
object
最后修改于 2026年6月10日