Skip to main content
GET
/
v1
/
datasets
/
{dataset_id}
/
data
Export Data from DataSet
curl --request GET \
  --url https://api.domo.com/v1/datasets/{dataset_id}/data \
  --header 'Authorization: Bearer <token>'
"name,role,quote,side\nLeia Organa,Rebel Leader,\"Help me, Obi-Wan Kenobi. You're my only hope.\",light\nQui-Gon Jinn,,,\nDarth Vader,Sith Lord,I find your lack of faith disturbing.,dark\n"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

dataset_id
string
required

ID of the DataSet

Example:

"08a061e2-12a2-4646-b4bc-20beddb403e3"

Query Parameters

includeHeader
boolean
default:false

Include table header row

fileName
string

The filename of the exported csv

Response

200 - text/csv

Returns a raw CSV in the response body or error for the outcome of data being exported into DataSet.

The response is of type string.