curl --request POST \
--url https://api.select.dev/v2/dashboards \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-tenant-id: <x-tenant-id>' \
--data '
{
"name": "<string>",
"description": "<string>",
"visibility": "private",
"status": "published",
"team_id": "<string>",
"layout": {},
"filters": [
"<unknown>"
],
"date_range": {
"relative_shortcut": "<string>",
"start_date": "<string>",
"end_date": "<string>"
},
"freeform_layout": [
{
"x": 1,
"y": 1,
"w": 11,
"h": 123,
"i": "<string>"
}
],
"icon": "<string>",
"color": "<string>",
"blocks": [
{
"config": {
"query_class": "<string>",
"title": "<string>",
"block_type": "big_number",
"display": {
"metric": "<string>",
"previous_period_comparison": "none"
},
"description": "",
"tooltip": "",
"query_scope": {
"filters": []
}
},
"position": {
"kind": "append_row",
"height_px": 123,
"col_span": 6
}
}
]
}
'import requests
url = "https://api.select.dev/v2/dashboards"
payload = {
"name": "<string>",
"description": "<string>",
"visibility": "private",
"status": "published",
"team_id": "<string>",
"layout": {},
"filters": ["<unknown>"],
"date_range": {
"relative_shortcut": "<string>",
"start_date": "<string>",
"end_date": "<string>"
},
"freeform_layout": [
{
"x": 1,
"y": 1,
"w": 11,
"h": 123,
"i": "<string>"
}
],
"icon": "<string>",
"color": "<string>",
"blocks": [
{
"config": {
"query_class": "<string>",
"title": "<string>",
"block_type": "big_number",
"display": {
"metric": "<string>",
"previous_period_comparison": "none"
},
"description": "",
"tooltip": "",
"query_scope": { "filters": [] }
},
"position": {
"kind": "append_row",
"height_px": 123,
"col_span": 6
}
}
]
}
headers = {
"x-tenant-id": "<x-tenant-id>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-tenant-id': '<x-tenant-id>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: '<string>',
description: '<string>',
visibility: 'private',
status: 'published',
team_id: '<string>',
layout: {},
filters: ['<unknown>'],
date_range: {relative_shortcut: '<string>', start_date: '<string>', end_date: '<string>'},
freeform_layout: [{x: 1, y: 1, w: 11, h: 123, i: '<string>'}],
icon: '<string>',
color: '<string>',
blocks: [
{
config: {
query_class: '<string>',
title: '<string>',
block_type: 'big_number',
display: {metric: '<string>', previous_period_comparison: 'none'},
description: '',
tooltip: '',
query_scope: {filters: []}
},
position: {kind: 'append_row', height_px: 123, col_span: 6}
}
]
})
};
fetch('https://api.select.dev/v2/dashboards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.select.dev/v2/dashboards",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'visibility' => 'private',
'status' => 'published',
'team_id' => '<string>',
'layout' => [
],
'filters' => [
'<unknown>'
],
'date_range' => [
'relative_shortcut' => '<string>',
'start_date' => '<string>',
'end_date' => '<string>'
],
'freeform_layout' => [
[
'x' => 1,
'y' => 1,
'w' => 11,
'h' => 123,
'i' => '<string>'
]
],
'icon' => '<string>',
'color' => '<string>',
'blocks' => [
[
'config' => [
'query_class' => '<string>',
'title' => '<string>',
'block_type' => 'big_number',
'display' => [
'metric' => '<string>',
'previous_period_comparison' => 'none'
],
'description' => '',
'tooltip' => '',
'query_scope' => [
'filters' => [
]
]
],
'position' => [
'kind' => 'append_row',
'height_px' => 123,
'col_span' => 6
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"x-tenant-id: <x-tenant-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.select.dev/v2/dashboards"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"visibility\": \"private\",\n \"status\": \"published\",\n \"team_id\": \"<string>\",\n \"layout\": {},\n \"filters\": [\n \"<unknown>\"\n ],\n \"date_range\": {\n \"relative_shortcut\": \"<string>\",\n \"start_date\": \"<string>\",\n \"end_date\": \"<string>\"\n },\n \"freeform_layout\": [\n {\n \"x\": 1,\n \"y\": 1,\n \"w\": 11,\n \"h\": 123,\n \"i\": \"<string>\"\n }\n ],\n \"icon\": \"<string>\",\n \"color\": \"<string>\",\n \"blocks\": [\n {\n \"config\": {\n \"query_class\": \"<string>\",\n \"title\": \"<string>\",\n \"block_type\": \"big_number\",\n \"display\": {\n \"metric\": \"<string>\",\n \"previous_period_comparison\": \"none\"\n },\n \"description\": \"\",\n \"tooltip\": \"\",\n \"query_scope\": {\n \"filters\": []\n }\n },\n \"position\": {\n \"kind\": \"append_row\",\n \"height_px\": 123,\n \"col_span\": 6\n }\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-tenant-id", "<x-tenant-id>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.select.dev/v2/dashboards")
.header("x-tenant-id", "<x-tenant-id>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"visibility\": \"private\",\n \"status\": \"published\",\n \"team_id\": \"<string>\",\n \"layout\": {},\n \"filters\": [\n \"<unknown>\"\n ],\n \"date_range\": {\n \"relative_shortcut\": \"<string>\",\n \"start_date\": \"<string>\",\n \"end_date\": \"<string>\"\n },\n \"freeform_layout\": [\n {\n \"x\": 1,\n \"y\": 1,\n \"w\": 11,\n \"h\": 123,\n \"i\": \"<string>\"\n }\n ],\n \"icon\": \"<string>\",\n \"color\": \"<string>\",\n \"blocks\": [\n {\n \"config\": {\n \"query_class\": \"<string>\",\n \"title\": \"<string>\",\n \"block_type\": \"big_number\",\n \"display\": {\n \"metric\": \"<string>\",\n \"previous_period_comparison\": \"none\"\n },\n \"description\": \"\",\n \"tooltip\": \"\",\n \"query_scope\": {\n \"filters\": []\n }\n },\n \"position\": {\n \"kind\": \"append_row\",\n \"height_px\": 123,\n \"col_span\": 6\n }\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.select.dev/v2/dashboards")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-tenant-id"] = '<x-tenant-id>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"visibility\": \"private\",\n \"status\": \"published\",\n \"team_id\": \"<string>\",\n \"layout\": {},\n \"filters\": [\n \"<unknown>\"\n ],\n \"date_range\": {\n \"relative_shortcut\": \"<string>\",\n \"start_date\": \"<string>\",\n \"end_date\": \"<string>\"\n },\n \"freeform_layout\": [\n {\n \"x\": 1,\n \"y\": 1,\n \"w\": 11,\n \"h\": 123,\n \"i\": \"<string>\"\n }\n ],\n \"icon\": \"<string>\",\n \"color\": \"<string>\",\n \"blocks\": [\n {\n \"config\": {\n \"query_class\": \"<string>\",\n \"title\": \"<string>\",\n \"block_type\": \"big_number\",\n \"display\": {\n \"metric\": \"<string>\",\n \"previous_period_comparison\": \"none\"\n },\n \"description\": \"\",\n \"tooltip\": \"\",\n \"query_scope\": {\n \"filters\": []\n }\n },\n \"position\": {\n \"kind\": \"append_row\",\n \"height_px\": 123,\n \"col_span\": 6\n }\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"visibility": "private",
"status": "draft",
"created_by": "<string>",
"create_time": "<string>",
"update_time": "<string>",
"etag": "<string>",
"description": "<string>",
"team_id": "<string>",
"updated_by": "<string>",
"layout": {},
"filters": [
"<unknown>"
],
"date_range": {
"relative_shortcut": "<string>",
"start_date": "<string>",
"end_date": "<string>"
},
"time_grain": "day",
"freeform_layout": [
{
"x": 1,
"y": 1,
"w": 11,
"h": 123,
"i": "<string>"
}
],
"icon": "<string>",
"color": "<string>",
"blocks": [
{
"id": "<string>",
"config": {
"query_class": "<string>",
"title": "<string>",
"block_type": "big_number",
"display": {
"metric": "<string>",
"previous_period_comparison": "none"
},
"description": "",
"tooltip": "",
"query_scope": {
"filters": []
}
},
"create_time": "<string>",
"update_time": "<string>",
"etag": "<string>"
}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}Create a dashboard
Creates a dashboard, optionally with its initial blocks.
curl --request POST \
--url https://api.select.dev/v2/dashboards \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-tenant-id: <x-tenant-id>' \
--data '
{
"name": "<string>",
"description": "<string>",
"visibility": "private",
"status": "published",
"team_id": "<string>",
"layout": {},
"filters": [
"<unknown>"
],
"date_range": {
"relative_shortcut": "<string>",
"start_date": "<string>",
"end_date": "<string>"
},
"freeform_layout": [
{
"x": 1,
"y": 1,
"w": 11,
"h": 123,
"i": "<string>"
}
],
"icon": "<string>",
"color": "<string>",
"blocks": [
{
"config": {
"query_class": "<string>",
"title": "<string>",
"block_type": "big_number",
"display": {
"metric": "<string>",
"previous_period_comparison": "none"
},
"description": "",
"tooltip": "",
"query_scope": {
"filters": []
}
},
"position": {
"kind": "append_row",
"height_px": 123,
"col_span": 6
}
}
]
}
'import requests
url = "https://api.select.dev/v2/dashboards"
payload = {
"name": "<string>",
"description": "<string>",
"visibility": "private",
"status": "published",
"team_id": "<string>",
"layout": {},
"filters": ["<unknown>"],
"date_range": {
"relative_shortcut": "<string>",
"start_date": "<string>",
"end_date": "<string>"
},
"freeform_layout": [
{
"x": 1,
"y": 1,
"w": 11,
"h": 123,
"i": "<string>"
}
],
"icon": "<string>",
"color": "<string>",
"blocks": [
{
"config": {
"query_class": "<string>",
"title": "<string>",
"block_type": "big_number",
"display": {
"metric": "<string>",
"previous_period_comparison": "none"
},
"description": "",
"tooltip": "",
"query_scope": { "filters": [] }
},
"position": {
"kind": "append_row",
"height_px": 123,
"col_span": 6
}
}
]
}
headers = {
"x-tenant-id": "<x-tenant-id>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-tenant-id': '<x-tenant-id>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: '<string>',
description: '<string>',
visibility: 'private',
status: 'published',
team_id: '<string>',
layout: {},
filters: ['<unknown>'],
date_range: {relative_shortcut: '<string>', start_date: '<string>', end_date: '<string>'},
freeform_layout: [{x: 1, y: 1, w: 11, h: 123, i: '<string>'}],
icon: '<string>',
color: '<string>',
blocks: [
{
config: {
query_class: '<string>',
title: '<string>',
block_type: 'big_number',
display: {metric: '<string>', previous_period_comparison: 'none'},
description: '',
tooltip: '',
query_scope: {filters: []}
},
position: {kind: 'append_row', height_px: 123, col_span: 6}
}
]
})
};
fetch('https://api.select.dev/v2/dashboards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.select.dev/v2/dashboards",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'visibility' => 'private',
'status' => 'published',
'team_id' => '<string>',
'layout' => [
],
'filters' => [
'<unknown>'
],
'date_range' => [
'relative_shortcut' => '<string>',
'start_date' => '<string>',
'end_date' => '<string>'
],
'freeform_layout' => [
[
'x' => 1,
'y' => 1,
'w' => 11,
'h' => 123,
'i' => '<string>'
]
],
'icon' => '<string>',
'color' => '<string>',
'blocks' => [
[
'config' => [
'query_class' => '<string>',
'title' => '<string>',
'block_type' => 'big_number',
'display' => [
'metric' => '<string>',
'previous_period_comparison' => 'none'
],
'description' => '',
'tooltip' => '',
'query_scope' => [
'filters' => [
]
]
],
'position' => [
'kind' => 'append_row',
'height_px' => 123,
'col_span' => 6
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"x-tenant-id: <x-tenant-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.select.dev/v2/dashboards"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"visibility\": \"private\",\n \"status\": \"published\",\n \"team_id\": \"<string>\",\n \"layout\": {},\n \"filters\": [\n \"<unknown>\"\n ],\n \"date_range\": {\n \"relative_shortcut\": \"<string>\",\n \"start_date\": \"<string>\",\n \"end_date\": \"<string>\"\n },\n \"freeform_layout\": [\n {\n \"x\": 1,\n \"y\": 1,\n \"w\": 11,\n \"h\": 123,\n \"i\": \"<string>\"\n }\n ],\n \"icon\": \"<string>\",\n \"color\": \"<string>\",\n \"blocks\": [\n {\n \"config\": {\n \"query_class\": \"<string>\",\n \"title\": \"<string>\",\n \"block_type\": \"big_number\",\n \"display\": {\n \"metric\": \"<string>\",\n \"previous_period_comparison\": \"none\"\n },\n \"description\": \"\",\n \"tooltip\": \"\",\n \"query_scope\": {\n \"filters\": []\n }\n },\n \"position\": {\n \"kind\": \"append_row\",\n \"height_px\": 123,\n \"col_span\": 6\n }\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-tenant-id", "<x-tenant-id>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.select.dev/v2/dashboards")
.header("x-tenant-id", "<x-tenant-id>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"visibility\": \"private\",\n \"status\": \"published\",\n \"team_id\": \"<string>\",\n \"layout\": {},\n \"filters\": [\n \"<unknown>\"\n ],\n \"date_range\": {\n \"relative_shortcut\": \"<string>\",\n \"start_date\": \"<string>\",\n \"end_date\": \"<string>\"\n },\n \"freeform_layout\": [\n {\n \"x\": 1,\n \"y\": 1,\n \"w\": 11,\n \"h\": 123,\n \"i\": \"<string>\"\n }\n ],\n \"icon\": \"<string>\",\n \"color\": \"<string>\",\n \"blocks\": [\n {\n \"config\": {\n \"query_class\": \"<string>\",\n \"title\": \"<string>\",\n \"block_type\": \"big_number\",\n \"display\": {\n \"metric\": \"<string>\",\n \"previous_period_comparison\": \"none\"\n },\n \"description\": \"\",\n \"tooltip\": \"\",\n \"query_scope\": {\n \"filters\": []\n }\n },\n \"position\": {\n \"kind\": \"append_row\",\n \"height_px\": 123,\n \"col_span\": 6\n }\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.select.dev/v2/dashboards")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-tenant-id"] = '<x-tenant-id>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"visibility\": \"private\",\n \"status\": \"published\",\n \"team_id\": \"<string>\",\n \"layout\": {},\n \"filters\": [\n \"<unknown>\"\n ],\n \"date_range\": {\n \"relative_shortcut\": \"<string>\",\n \"start_date\": \"<string>\",\n \"end_date\": \"<string>\"\n },\n \"freeform_layout\": [\n {\n \"x\": 1,\n \"y\": 1,\n \"w\": 11,\n \"h\": 123,\n \"i\": \"<string>\"\n }\n ],\n \"icon\": \"<string>\",\n \"color\": \"<string>\",\n \"blocks\": [\n {\n \"config\": {\n \"query_class\": \"<string>\",\n \"title\": \"<string>\",\n \"block_type\": \"big_number\",\n \"display\": {\n \"metric\": \"<string>\",\n \"previous_period_comparison\": \"none\"\n },\n \"description\": \"\",\n \"tooltip\": \"\",\n \"query_scope\": {\n \"filters\": []\n }\n },\n \"position\": {\n \"kind\": \"append_row\",\n \"height_px\": 123,\n \"col_span\": 6\n }\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"visibility": "private",
"status": "draft",
"created_by": "<string>",
"create_time": "<string>",
"update_time": "<string>",
"etag": "<string>",
"description": "<string>",
"team_id": "<string>",
"updated_by": "<string>",
"layout": {},
"filters": [
"<unknown>"
],
"date_range": {
"relative_shortcut": "<string>",
"start_date": "<string>",
"end_date": "<string>"
},
"time_grain": "day",
"freeform_layout": [
{
"x": 1,
"y": 1,
"w": 11,
"h": 123,
"i": "<string>"
}
],
"icon": "<string>",
"color": "<string>",
"blocks": [
{
"id": "<string>",
"config": {
"query_class": "<string>",
"title": "<string>",
"block_type": "big_number",
"display": {
"metric": "<string>",
"previous_period_comparison": "none"
},
"description": "",
"tooltip": "",
"query_scope": {
"filters": []
}
},
"create_time": "<string>",
"update_time": "<string>",
"etag": "<string>"
}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "<string>",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}Authorizations
Organization API key (sl_…).
Headers
The organization ID the request is scoped to.
Body
A dashboard to create, optionally with its initial blocks.
private, team, public draft, published Show child attributes
Show child attributes
day, week, month Show child attributes
Show child attributes
1Show child attributes
Show child attributes
Response
Successful Response
A configurable collection of blocks for monitoring related information.
The unique identifier of the dashboard.
The display name of the dashboard.
Who can access the dashboard: its owner, a team, or the organization.
private, team, public Whether the dashboard is a draft or has been published.
draft, published The identifier of the user or API key that created the dashboard.
When the dashboard was created, as an RFC 3339 UTC timestamp.
When the dashboard was last changed, as an RFC 3339 UTC timestamp.
Opaque strong ETag. Supply it in an If-Match header when changing or deleting the dashboard.
Additional context about the dashboard and its purpose.
The team the dashboard is shared with. Set only when visibility is team.
The identifier of the user or API key that most recently changed the dashboard.
Saved layout settings for the dashboard.
Filters applied to all compatible blocks in the dashboard.
Date range applied to all compatible blocks in the dashboard.
Show child attributes
Show child attributes
Time grain applied to all compatible blocks in the dashboard.
day, week, month Positions and sizes of blocks on the dashboard grid.
Show child attributes
Show child attributes
Icon associated with the dashboard.
Color associated with the dashboard.
Blocks contained in the dashboard, oldest first.
Show child attributes
Show child attributes

