POST
/
v1
/
team
/
datasets
curl --request POST \
  --url https://ai.data.cloud/api/v1/team/datasets \
  --header 'Content-Type: application/json' \
  --header 'x-pd-api-key: <api-key>' \
  --data '{
  "name": "My dataset",
  "description": "my default dataset",
  "userId": "tmm-cm5m7khoz52zh07n4m7x1ut60"
}'
{
  "code": 0,
  "data": {
    "id": "dataset-adsdfasafdsfasdgasd"
  }
}

Authorizations

x-pd-api-key
string
header
required

Headers

x-pd-external-trace-id
string

The external trace ID. The length ranges from 0 to 128 characters.

Body

application/json

Response

200 - application/json

The response is of type object.