POST
/
team
/
{team_id}
/
datasets

To start fetching data in a dataset, you need to create a data request. A data request is responsible with using your connections to fetch data from your data sources. You can create a data request by using the Create a Data Request endpoint.

Authorizations

Authorization
string
headerrequired

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

Path Parameters

team_id
string
required

ID of the team

Body

application/json
team_id
integer
required
project_ids
integer[]
name
string
connection_id
integer
type
string
query
string
datasetColor
string
dateField
string
dateFormat
string
legend
string
configuration
object

Response

200 - application/json
id
integer
team_id
integer
project_ids
integer[]
chart_id
integer
connection_id
integer
draft
boolean
default: true
query
string
xAxis
string
xAxisOperation
string
yAxis
string
yAxisOperation
string
default: none
dateField
string
dateFormat
string
legend
string
fieldsSchema
object
excludedFields
string[]
configuration
object
joinSettings
object