cURL
curl --request GET \
--url https://{tenant}.chronosphere.io/api/v1/config/classic-dashboards/{slug} \
--header 'API-Token: <api-key>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{tenant}.chronosphere.io/api/v1/config/classic-dashboards/{slug}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-Token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{tenant}.chronosphere.io/api/v1/config/classic-dashboards/{slug}")
.header("API-Token", "<api-key>")
.asString();const options = {method: 'GET', headers: {'API-Token': '<api-key>'}};
fetch('https://{tenant}.chronosphere.io/api/v1/config/classic-dashboards/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{tenant}.chronosphere.io/api/v1/config/classic-dashboards/{slug}"
headers = {"API-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"classic_dashboard": {
"name": "<string>",
"bucket_slug": "<string>",
"collection": {
"slug": "<string>"
},
"collection_slug": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"dashboard_json": "<string>",
"slug": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>"
}{
"message": "<string>"
}{}ReadClassicDashboard
GET
/
api
/
v1
/
config
/
classic-dashboards
/
{slug}
cURL
curl --request GET \
--url https://{tenant}.chronosphere.io/api/v1/config/classic-dashboards/{slug} \
--header 'API-Token: <api-key>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{tenant}.chronosphere.io/api/v1/config/classic-dashboards/{slug}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-Token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{tenant}.chronosphere.io/api/v1/config/classic-dashboards/{slug}")
.header("API-Token", "<api-key>")
.asString();const options = {method: 'GET', headers: {'API-Token': '<api-key>'}};
fetch('https://{tenant}.chronosphere.io/api/v1/config/classic-dashboards/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{tenant}.chronosphere.io/api/v1/config/classic-dashboards/{slug}"
headers = {"API-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"classic_dashboard": {
"name": "<string>",
"bucket_slug": "<string>",
"collection": {
"slug": "<string>"
},
"collection_slug": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"dashboard_json": "<string>",
"slug": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>"
}{
"message": "<string>"
}{}Classic dashboards reach end of life on January 20, 2027. After this date,
classic dashboards are no longer supported. Migrate to
standard dashboards to avoid disruption.
Classic dashboard API endpoints are not available for organizations on standard
dashboards. Requests to these endpoints return an error. To manage dashboards
programmatically in these environments, use the
standard dashboard endpoints. For information
about your organization’s dashboard configuration, contact
Chronosphere Support.
⌘I

