Create dashboards
curl --request POST \
--url https://api.quivo.co/dashboards \
--header 'Content-Type: application/json' \
--data '
{
"graphs": [
"<string>"
]
}
'import requests
url = "https://api.quivo.co/dashboards"
payload = { "graphs": ["<string>"] }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({graphs: ['<string>']})
};
fetch('https://api.quivo.co/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.quivo.co/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([
'graphs' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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.quivo.co/dashboards"
payload := strings.NewReader("{\n \"graphs\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
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.quivo.co/dashboards")
.header("Content-Type", "application/json")
.body("{\n \"graphs\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/dashboards")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"graphs\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"slug": "<string>",
"data": [
"<string>"
],
"labels": [
"<string>"
]
}
],
"errors": [
{
"graph": "<string>",
"reason": "<string>"
}
]
}dashboards
Create dashboards
Create a new dashboard configuration.
POST
/
dashboards
Create dashboards
curl --request POST \
--url https://api.quivo.co/dashboards \
--header 'Content-Type: application/json' \
--data '
{
"graphs": [
"<string>"
]
}
'import requests
url = "https://api.quivo.co/dashboards"
payload = { "graphs": ["<string>"] }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({graphs: ['<string>']})
};
fetch('https://api.quivo.co/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.quivo.co/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([
'graphs' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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.quivo.co/dashboards"
payload := strings.NewReader("{\n \"graphs\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
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.quivo.co/dashboards")
.header("Content-Type", "application/json")
.body("{\n \"graphs\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/dashboards")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"graphs\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"slug": "<string>",
"data": [
"<string>"
],
"labels": [
"<string>"
]
}
],
"errors": [
{
"graph": "<string>",
"reason": "<string>"
}
]
}Query Parameters
The unique identifier for the seller account. This ID is used to scope operations to a specific seller's data and resources.
The identifier or name of the warehouse to filter by.
The time range for the dashboard data (e.g., "7d", "30d", "1y").
The start date for the dashboard data range. Format: ISO 8601 date.
The end date for the dashboard data range. Format: ISO 8601 date.
Body
application/json
Data to create a new resource at /dashboards
Request payload for creating a new dashboard configuration. Contains dashboard settings, data range, warehouse filters, and visualization preferences.
Array of graph items