Datasets
Fetch dataset data
Datasets
Fetch dataset data
Run all of dataset’s data requests
GET
/
team
/
{team_id}
/
datasets
/
{dataset_id}
/
request
Copy
curl --request GET \
--url https://api.chartbrew.com/team/{team_id}/datasets/{dataset_id}/request \
--header 'Authorization: Bearer <token>'
Copy
{
"options": {
"id": 123,
"team_id": 123,
"project_ids": [
123
],
"chart_id": 123,
"connection_id": 123,
"draft": true,
"query": "<string>",
"xAxis": "<string>",
"xAxisOperation": "<string>",
"yAxis": "<string>",
"yAxisOperation": "none",
"dateField": "<string>",
"dateFormat": "<string>",
"legend": "<string>",
"fieldsSchema": {},
"excludedFields": [
"<string>"
],
"configuration": {},
"joinSettings": {
"joins": [
{
"dr_id": 123,
"join_id": 123,
"dr_field": "<string>",
"join_field": "<string>"
}
]
}
},
"data": [
{}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Skip running the data source
Get cached data if available
Filter parameters for the request
Response
200 - application/json
Copy
curl --request GET \
--url https://api.chartbrew.com/team/{team_id}/datasets/{dataset_id}/request \
--header 'Authorization: Bearer <token>'
Copy
{
"options": {
"id": 123,
"team_id": 123,
"project_ids": [
123
],
"chart_id": 123,
"connection_id": 123,
"draft": true,
"query": "<string>",
"xAxis": "<string>",
"xAxisOperation": "<string>",
"yAxis": "<string>",
"yAxisOperation": "none",
"dateField": "<string>",
"dateFormat": "<string>",
"legend": "<string>",
"fieldsSchema": {},
"excludedFields": [
"<string>"
],
"configuration": {},
"joinSettings": {
"joins": [
{
"dr_id": 123,
"join_id": 123,
"dr_field": "<string>",
"join_field": "<string>"
}
]
}
},
"data": [
{}
]
}