List DataSets
curl --request GET \
--url https://api.domo.com/v1/datasets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.domo.com/v1/datasets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.domo.com/v1/datasets', 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.domo.com/v1/datasets",
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 <token>"
],
]);
$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.domo.com/v1/datasets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.domo.com/v1/datasets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.domo.com/v1/datasets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "08a061e2-12a2-4646-b4bc-20beddb403e3",
"name": "Questions regarding Euclid's Fundamental Theorem of Arithmetic",
"rows": 1,
"columns": 6,
"createdAt": "2015-12-10T07:06:14Z",
"updatedAt": "2016-02-29T20:56:20.567Z"
},
{
"id": "317970a1-6a6e-4f70-8e09-44cf5f34cf44",
"name": "Ideas Regarding Physics",
"description": "Notes",
"rows": 1289280,
"columns": 9,
"createdAt": "2013-09-24T20:51:48Z",
"updatedAt": "2016-02-29T20:56:07.619Z"
},
{
"id": "cc22901d-c856-47c5-89a3-5228a4fa5663",
"name": "Rene Descartes Mentions",
"description": "",
"rows": 194723231,
"columns": 12,
"createdAt": "2014-05-01T22:01:17Z",
"updatedAt": "2016-02-29T20:56:05.034Z"
},
{
"id": "36ea3481-5b90-4181-a4a8-4d9388e85d9e",
"name": "Symbolic Logic",
"description": "",
"rows": 349660,
"columns": 12,
"createdAt": "2014-11-26T18:29:09Z",
"updatedAt": "2016-02-29T20:55:50.337Z"
}
]List DataSets
Get a list of all DataSets in your Domo instance.
GET
/
v1
/
datasets
List DataSets
curl --request GET \
--url https://api.domo.com/v1/datasets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.domo.com/v1/datasets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.domo.com/v1/datasets', 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.domo.com/v1/datasets",
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 <token>"
],
]);
$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.domo.com/v1/datasets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.domo.com/v1/datasets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.domo.com/v1/datasets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "08a061e2-12a2-4646-b4bc-20beddb403e3",
"name": "Questions regarding Euclid's Fundamental Theorem of Arithmetic",
"rows": 1,
"columns": 6,
"createdAt": "2015-12-10T07:06:14Z",
"updatedAt": "2016-02-29T20:56:20.567Z"
},
{
"id": "317970a1-6a6e-4f70-8e09-44cf5f34cf44",
"name": "Ideas Regarding Physics",
"description": "Notes",
"rows": 1289280,
"columns": 9,
"createdAt": "2013-09-24T20:51:48Z",
"updatedAt": "2016-02-29T20:56:07.619Z"
},
{
"id": "cc22901d-c856-47c5-89a3-5228a4fa5663",
"name": "Rene Descartes Mentions",
"description": "",
"rows": 194723231,
"columns": 12,
"createdAt": "2014-05-01T22:01:17Z",
"updatedAt": "2016-02-29T20:56:05.034Z"
},
{
"id": "36ea3481-5b90-4181-a4a8-4d9388e85d9e",
"name": "Symbolic Logic",
"description": "",
"rows": 349660,
"columns": 12,
"createdAt": "2014-11-26T18:29:09Z",
"updatedAt": "2016-02-29T20:55:50.337Z"
}
]Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The amount of DataSets to return in the list. The default is 50 and the maximum is 50.
The offset of the DataSet ID to begin list of users within the response.
The order to return the DataSets in.
Available options:
name, nameDescending, lastTouched, lastTouchedAscending, lastUpdated, lastUpdatedAscending, createdAt, createdAtAscending, cardCount, cardCountAscending, cardViewCount, cardViewCountAscending, errorState, errorStateDescending, dataSourceId If included, will limit the list of DataSets to those with names that contain the string passed in. nameLike is case insensitive.