# Create a dataset

Creates a new dataset for the organisation.

# Input

Endpoint

POST /orgs/:organisation/datasets/:dataset

Field Type Required Value Description
organisation String yes The organisation name

# Body

Field Type Required Value Description
name String yes The name of the new dataset. Maximum length is 100 characters. Can contain letters, dashes and numbers.

# Request

curl -X POST \
     -H "Authorization: token my-org-api-token" \
     -H "Content-Type: application/json" \
     -H "Accept: application/vnd.visii.v2+json" \
     -d '{"name":"my-dataset"}' \
     "https://api.visii.com/orgs/my-org/datasets"

# Response

Field Type Value Description
status String The status of the response
dataset_url String The URL of the newly created dataset
HTTP/1.1 201 Created
{
  "dataset_url": "https://api.visii.com/orgs/my-org/datasets/my-dataset",
  "status": "ok"
}
Last Updated: 2/7/2020, 11:17:32 AM