Dashboards API - GET all dashboards

Lists all dashboards of your DESK environment, regardless of access rights in the UI.

The request produces an application/json payload.

This request is an early adopter release and may be changed in non compatible way.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/config/v1/dashboards
  • SaaS https://{your-environment-id}.live.dexp.ae/api/config/v1/dashboards

Parameters

The request doesn't provide any configurable parameters.

Response format

The DashboardList object

A list of short representations of dashboards.

Element Type Description
dashboards DashboardStub[]

A list of short representations of dashboards.

The DashboardStub object

A short representation of a dashboard.

Element Type Description
id string

The ID of the dashboard.

name string

The name of the dashboard.

owner string

The owner of the dashboard.

Example

In this example, the request lists all dashboards of the mySampleEnv environment.

The API token is passed in the Authorization header.

The result is truncated to three entries.

Curl

curl -X GET \
  https://mySampleEnv.live.dexp.ae/api/config/v1/dashboards \
  -H 'Authorization: Api-token abcdefjhij1234567890'

Request URL

https://mySampleEnv.live.dexp.ae/api/config/v1/dashboards

Response body

{
  "dashboards": [
    {
      "id": "891f3203-9953-4796-aacd-886c0f59dddf",
      "name": "Home",
      "owner": "admin.user"
    },
    {
      "id": "2768e6ca-e199-4433-9e0d-2922aec2099b",
      "name": "Sample dashboard",
      "owner": "john.smith"
    },
    {
      "id": "1d7d34c6-0eb1-4131-8d29-9022f8e7f530",
      "name": "Kubernetes metrics",
      "owner": "jane.brown"
    }
  ]
}

Response code

200