---
title: "Get dashboard chart data"
method: GET
path: "/v2/dashboards/{id}/data"
tags: ["Dashboards"]
---

# Get dashboard chart data

`GET /v2/dashboards/{id}/data`

Execute dashboard chart queries and return data. Charts are paginated at 10 per page. Individual chart failures are handled gracefully and return an error message instead of failing the entire request.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `page` integer
- `date_start` string
- `date_end` string
- `user_id` string, uuid
- `origin_id` string, uuid
- `origin_group_id` string, uuid
- `tag_id` string, uuid
- `timezone` string
- `limit` integer
- `chart_ids` string

## Headers

- `api-token` string, required

## Response `200`

Chart data for the dashboard

- object — V2 paginated response with snake_case keys
  - `status` integer — Response status
  - `total_count` integer — Total items based on current filters
  - `page` integer — Current page
  - `total_pages` integer — Total pages based on current filters
  - `has_next` boolean — Indicates that has next page
  - `has_previous` boolean — Indicates that has previous page
  - `data` object
    - `charts` ChartData[]
      - `id` string, uuid
      - `name` string
      - `type` 'line' | 'area' | 'bar' | 'stackedBar' | 'table' | 'number' | 'kpiPanel' | 'pie' | 'donut' | 'funnel'
      - `result` union — Chart result data. Format depends on chart type: number types return {value}, table types return {columns, rows}, series types (line, bar, pie, etc.) return an array of series objects.
        - object — Number/KPI chart result
          - `value` unknown
        - object — Table chart result
          - `columns` object[]
            - `key` string
            - `title` string
            - `type` string
          - `rows` object[]
        - object[] — Series chart result (line, bar, pie, etc.)
          - `name` string
          - `data` object[]
      - `error` string — Present instead of result when the chart query failed

## Other responses

- `400` — Validation error (e.g. invalid date format)
- `401` — Authentication error - invalid or missing api-token
- `404` — Dashboard not found

---

[API](https://skmtc.net/clint/apis/clint-api.md) · [All operations](https://skmtc.net/clint/apis/clint-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clint/clint-api/versions/12b8f9eff943/schema)
