POST
/
v2
/
team
/
datasets
/
{id}
curl --request POST \
  --url https://ai.data.cloud/api/v2/team/datasets/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-pd-api-key: <api-key>' \
  --data '{
  "name": "sales_data",
  "description": "sales data of all regions",
  "user_id": "tmm-dsadfdsafasdf"
}'
{
  "code": 123,
  "data": {}
}

Authorizations

x-pd-api-key
string
header
required

Headers

x-pd-external-trace-id
string

The trace ID you set in your system to trace this request. It can be up to 128 characters in length. If the request fails, you can provide it to the Powerdrill team to help with troubleshooting.

Path Parameters

id
string
required

The ID of the dataset to modify. You can only modify the dataset that you created.

To check the datasets you have access to, call GET /v2/team/datasets.

Body

application/json

Response

200 - application/json

The response is of type object.