# Retrieve a dashboard - Checkly Docs

> Show details of a specific dashboard. Rate-limiting is applied to this endpoint, you can send 20 requests / 20 seconds at most.

Source: https://www.checklyhq.com/docs/api-reference/dashboards/retrieve-a-dashboard/

---

Retrieve a dashboard

```
curl --request GET \
--url https://api.checklyhq.com/v1/dashboards/{dashboardId} \
--header 'Authorization: Bearer '
```

```
import requests

url = "https://api.checklyhq.com/v1/dashboards/{dashboardId}"

headers = {"Authorization": "Bearer "}

response = requests.get(url, headers=headers)

print(response.text)
```

```
const options = {method: 'GET', headers: {Authorization: 'Bearer '}};

fetch('https://api.checklyhq.com/v1/dashboards/{dashboardId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
```

```
"https://api.checklyhq.com/v1/dashboards/{dashboardId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer "
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
```

```
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.checklyhq.com/v1/dashboards/{dashboardId}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer ")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
```

```
HttpResponse response = Unirest.get("https://api.checklyhq.com/v1/dashboards/{dashboardId}")
.header("Authorization", "Bearer ")
.asString();
```

```
require 'uri'
require 'net/http'

url = URI("https://api.checklyhq.com/v1/dashboards/{dashboardId}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer '

response = http.request(request)
puts response.read_body
```

```
{
"id": 123,
"dashboardId": " ",
"created_at": "2023-11-07T05:31:56Z",
"customUrl": " ",
"customDomain": " ",
"logo": " ",
"favicon": " ",
"link": " ",
"header": " ",
"description": " ",
"width": "FULL",
"refreshRate": 60,
"paginate": true,
"paginationRate": 60,
"sortByStatus": false,
"checksPerPage": 15,
"useTagsAndOperator": false,
"hideTags": false,
"enableIncidents": false,
"expandChecks": false,
"tags": [],
"showHeader": true,
"showCheckRunLinks": false,
"showGroupNames": true,
"customCSS": "",
"isPrivate": false,
"showP95": true,
"showP99": true,
"keys": []
}
```

```
{
"statusCode": 123,
"error": " ",
"message": " ",
"errorCode": "ERR_ACCOUNT_NOT_ACCESSIBLE"
}
```

```
{
"statusCode": 123,
"error": " ",
"message": " ",
"errorCode": "ERR_ACCOUNT_NOT_ACCESSIBLE"
}
```

```
{
"statusCode": 123,
"error": " ",
"message": " ",
"errorCode": "ERR_ACCOUNT_NOT_ACCESSIBLE"
}
```

```
{
"statusCode": 123,
"error": " ",
"message": " ",
"errorCode": "ERR_ACCOUNT_NOT_ACCESSIBLE"
}
```

Dashboards

# Retrieve a dashboard

Show details of a specific dashboard.

**Rate-limiting is applied to this endpoint, you can send 20 requests / 20 seconds at most.**

GET

/

v1

/

dashboards

/

{dashboardId}

Retrieve a dashboard

```
curl --request GET \
--url https://api.checklyhq.com/v1/dashboards/{dashboardId} \
--header 'Authorization: Bearer '
```

```
import requests

url = "https://api.checklyhq.com/v1/dashboards/{dashboardId}"

headers = {"Authorization": "Bearer "}

response = requests.get(url, headers=headers)

print(response.text)
```

```
const options = {method: 'GET', headers: {Authorization: 'Bearer '}};

fetch('https://api.checklyhq.com/v1/dashboards/{dashboardId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
```

```
"https://api.checklyhq.com/v1/dashboards/{dashboardId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer "
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
```

```
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.checklyhq.com/v1/dashboards/{dashboardId}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer ")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
```

```
HttpResponse response = Unirest.get("https://api.checklyhq.com/v1/dashboards/{dashboardId}")
.header("Authorization", "Bearer ")
.asString();
```

```
require 'uri'
require 'net/http'

url = URI("https://api.checklyhq.com/v1/dashboards/{dashboardId}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer '

response = http.request(request)
puts response.read_body
```

```
{
"id": 123,
"dashboardId": " ",
"created_at": "2023-11-07T05:31:56Z",
"customUrl": " ",
"customDomain": " ",
"logo": " ",
"favicon": " ",
"link": " ",
"header": " ",
"description": " ",
"width": "FULL",
"refreshRate": 60,
"paginate": true,
"paginationRate": 60,
"sortByStatus": false,
"checksPerPage": 15,
"useTagsAndOperator": false,
"hideTags": false,
"enableIncidents": false,
"expandChecks": false,
"tags": [],
"showHeader": true,
"showCheckRunLinks": false,
"showGroupNames": true,
"customCSS": "",
"isPrivate": false,
"showP95": true,
"showP99": true,
"keys": []
}
```

```
{
"statusCode": 123,
"error": " ",
"message": " ",
"errorCode": "ERR_ACCOUNT_NOT_ACCESSIBLE"
}
```

```
{
"statusCode": 123,
"error": " ",
"message": " ",
"errorCode": "ERR_ACCOUNT_NOT_ACCESSIBLE"
}
```

```
{
"statusCode": 123,
"error": " ",
"message": " ",
"errorCode": "ERR_ACCOUNT_NOT_ACCESSIBLE"
}
```

```
{
"statusCode": 123,
"error": " ",
"message": " ",
"errorCode": "ERR_ACCOUNT_NOT_ACCESSIBLE"
}
```

#### Authorizations

​

Authorization

string

header

required

The Checkly Public API uses API keys to authenticate requests. You can get the API Key [here](https://app.checklyhq.com/settings/user/api-keys).
Your API key is like a password:
keep it secure!

Authentication to the API is performed using the Bearer auth method in the Authorization header and using the account ID.

For example, set Authorization header while using cURL: `curl -H "Authorization: Bearer [apiKey]" "X-Checkly-Account: [accountId]"`

#### Headers

​

x-checkly-account

string<uuid>

Your Checkly account ID, you can find it at [https://app.checklyhq.com/settings/account/general](https://app.checklyhq.com/settings/account/general)

#### Path Parameters

​

dashboardId

string

required

#### Query Parameters

​

type

enum<string>

Available options: `customUrl`,

`customDomain`

#### Response

Successful

​

id

number

required

​

dashboardId

string

required

The dashboard ID.

​

created_at

string<date-time>

required

​

customUrl

string | null

A subdomain name under "checklyhq.com". Needs to be unique across all users.

​

customDomain

string | null

A custom user domain, e.g. "status.example.com". See the docs on updating your DNS and SSL usage.

​

logo

string<uri> enum<string> any

A URL pointing to an image file.

​

favicon

string<uri> enum<string> any

A URL pointing to an image file used as dashboard favicon.

​

link

string<uri> enum<string> any

A URL link to redirect when dashboard logo is clicked on.

​

header

string

A piece of text displayed at the top of your dashboard.

​

description

string | null

A piece of text displayed below the header or title of your dashboard.

​

width

enum<string>

default: FULL

Determines whether to use the full screen or focus in the center.

Available options: `FULL`,

`960PX`

​

refreshRate

number

default: 60

How often to refresh the dashboard in seconds.

​

paginate

boolean

default: true

Determines of pagination is on or off.

​

paginationRate

number

default: 60

How often to trigger pagination in seconds.

​

sortByStatus

boolean

default: false

Sort checks by status with failing checks first.

​

checksPerPage

number | null

default: 15

Number of checks displayed per page.

Required range: `1 ​

useTagsAndOperator

boolean | null

default: false

When to use AND operator for tags lookup.

​

hideTags

boolean

default: false

Show or hide the tags on the dashboard.

​

enableIncidents

boolean

default: false

Enable or disable incidents on the dashboard.

​

expandChecks

boolean

default: false

Expand or collapse checks on the dashboard.

​

tags

string[]

A list of one or more tags that filter which checks to display on the dashboard.

​

showHeader

boolean

default: true

Show or hide header and description on the dashboard.

​

showCheckRunLinks

boolean

default: false

Show or hide check run links on the dashboard.

​

showGroupNames

boolean

default: true

Show or hide group names on the dashboard.

​

customCSS

string | null

default: ""

Custom CSS to be applied to the dashboard.

​

isPrivate

boolean

default: false

Determines if the dashboard is public or private.

​

showP95

boolean

default: true

Show or hide the P95 stats on the dashboard.

​

showP99

boolean

default: true

Show or hide the P99 stats on the dashboard.

​

keys

object[]

Show key for private dashboard.

Show child attributes

Was this page helpful?

[Suggest edits](https://github.com/checkly/docs/edit/main/api-reference/dashboards/retrieve-a-dashboard.mdx)[Raise issue](https://github.com/checkly/docs/issues/new?title=Issue%20on%20docs&body=Path:%20/api-reference/dashboards/retrieve-a-dashboard)

[Create a dashboard Previous](https://www.checklyhq.com/docs/api-reference/dashboards/create-a-dashboard)[Update a dashboard Next](https://www.checklyhq.com/docs/api-reference/dashboards/update-a-dashboard)

[x](https://x.com/checklyhq)[github](https://github.com/checkly)[linkedin](https://linkedin.com/company/checkly)

[Powered by This documentation is built and hosted on Mintlify, a developer documentation platform](https://www.mintlify.com/?utm_campaign=poweredBy&utm_medium=referral&utm_source=checkly-422f444a)
