Datasets
Create a Dataset
Create a Dataset in the environment associated with your API key. If a Dataset already exists by that name (or slug), then the existing dataset will be returned.
post/1/datasets
Request body
Example request
{
"description": "A nice description of my dataset",
"expand_json_depth": 3
}Response
OK - Dataset already exists
Example response
{
"name": "My Dataset!",
"description": "A nice description of my dataset",
"expand_json_depth": 3,
"slug": "my-dataset-",
"regular_columns_count": 100,
"last_written_at": "2022-07-21T18:39:23Z",
"created_at": "2022-09-22T17:32:11Z",
"dataset_type": "metrics"
}