GET
/
team
/
{team_id}
/
datasets
curl --request GET \
  --url https://api.chartbrew.com/team/{team_id}/datasets \
  --header 'Authorization: Bearer <token>'
[
  {
    "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>"
        }
      ]
    }
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

team_id
string
required

ID of the team

Response

200
application/json
Array of datasets
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