cURL
curl --request POST \ --url https://ai.data.cloud/api/v1/team/datasets/{datasetId}/datasources/{datasourceId}/presign \ --header 'Content-Type: application/json' \ --header 'x-pd-api-key: <api-key>' \ --data '{ "expireIn": 600 }'
{ "code": 0, "data": { "presignedUrl": "string", "expireAt": "2024-11-13T14:15:22.123Z" } }
Generates a presigned URL to access the specified data source.
The external trace ID. The length ranges from 0 to 128 characters.
The ID of the dataset that contains the target data source.
The data source ID.
The response is of type object.
object