POST
/
v2
/
team
/
datasets
/
{dataset_id}
/
datasources
/
{datasource_id}
/
presign

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

dataset_id
string
required

The ID of the dataset that contains the target data source.

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

datasource_id
string
required

The ID of the target data source.

To check data sources existing in a specified dataset, call GET /v2/team/datasets/{id}/datasources.

Body

application/json
user_id
string
required

Your user ID, which uniquely identifies you within your team. To obtain your ID:

expires_in
integer
default:
600

The duration after which the presigned URL will expire. The value is expressed in seconds. The minimum value is 60 and is default to 600.

Response

200 - application/json
code
integer
required

Status code. 0 indicates that the operation is successful. Otherwise, the operation fails. For error troubleshooting, refer to Error Codes.

data
object
required

The returned data object.