POST
/
team
/
{team_id}
/
datasets
/
{dataset_id}
/
dataRequests
/
{id}
/
request
curl --request POST \
  --url https://api.chartbrew.com/team/{team_id}/datasets/{dataset_id}/dataRequests/{id}/request \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "noSource": true,
  "getCache": true,
  "filters": {}
}'
{
  "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>"
        }
      ]
    }
  },
  "dataRequest": {
    "responseData": {
      "data": [
        {}
      ],
      "configuration": {}
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

team_id
integer
required
dataset_id
integer
required
id
integer
required

Body

application/json
noSource
boolean
getCache
boolean
filters
object

Response

200 - application/json
Data request results
options
object
dataRequest
object