Skip to main content
GET
/
dashboards
/
{dashboard_token}
Get dashboard by token
curl --request GET \
  --url https://api.vantage.sh/v2/dashboards/{dashboard_token} \
  --header 'Authorization: Bearer <token>'
{
  "links": {
    "self": "https://api.vantage.sh/v2/dashboards",
    "first": "https://api.vantage.sh/v2/dashboards?page=1",
    "next": null,
    "last": "https://api.vantage.sh/v2/dashboards?page=1",
    "prev": null
  },
  "dashboards": [
    {
      "token": "dshbrd_e7c5b49d826b6f71",
      "title": "Executive Overview",
      "widget_tokens": [
        "rprt_27e80d7a8d3f34e6"
      ],
      "widgets": [
        {
          "widgetable_token": "rprt_27e80d7a8d3f34e6",
          "title": "Weekly Sales Report",
          "settings": {
            "display_type": "chart"
          }
        }
      ],
      "saved_filter_tokens": [
        "svd_fltr_7bb508e881e7fe5f"
      ],
      "date_bin": null,
      "date_interval": null,
      "start_date": null,
      "end_date": null,
      "created_at": "2024-12-17T00:44:48Z",
      "updated_at": "2024-12-17T00:44:48Z",
      "workspace_token": "wrkspc_245288e3c3a7377f"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

dashboard_token
string
required

Response

Dashboard model

token
string
Example:

"dshbrd_abcd1234567890"

title
string

The title of the Dashboard.

Example:

"AWS Dashboard"

widgets
object[]
saved_filter_tokens
string[]

The tokens of the Saved Filters used in the Dashboard.

date_bin
enum<string>

Determines how to group costs in the Dashboard.

Available options:
cumulative,
day,
week,
month
date_interval
enum<string>

Determines the date range for Reports in the Dashboard. Guaranteed to be set to 'custom' if 'start_date' and 'end_date' are set.

Available options:
this_month,
last_7_days,
last_30_days,
last_month,
last_3_months,
last_6_months,
custom,
last_12_months,
last_24_months,
last_36_months,
next_month,
next_3_months,
next_6_months,
next_12_months,
year_to_date,
last_3_days,
last_14_days
start_date
string

The start date for the date range for Reports in the Dashboard. ISO 8601 Formatted. Overwrites 'date_interval' if set.

Example:

"2023-08-04"

end_date
string

The end date for the date range for Reports in the Dashboard. ISO 8601 Formatted. Overwrites 'date_interval' if set.

Example:

"2023-09-04"

created_at
string

The date and time, in UTC, the Dashboard was created. ISO 8601 Formatted.

Example:

"2023-08-04T00:00:00Z"

updated_at
string

The date and time, in UTC, the Dashboard was created. ISO 8601 Formatted.

Example:

"2023-08-04T00:00:00Z"

workspace_token
string

The token for the Workspace the Dashboard is a part of.

Example:

"wrkspc_abcd1234567890"