POST
/
v2
/
team
/
file
/
complete-multipart-upload
curl --request POST \
  --url https://ai.data.cloud/api/v2/team/file/complete-multipart-upload \
  --header 'Content-Type: application/json' \
  --header 'x-pd-api-key: <api-key>' \
  --data '{
  "file_object_key": "temp/user/tmm-cm8gt41kuxxxx1l1d1n2wz8v/26f6272c-a847-4589-b352-a85471bb5121.csv",
  "part_etags": [
    {
      "etag": "124AD7DCA",
      "number": 1
    }
  ],
  "upload_id": "5k3EJxAYgtHW1fkbF54ppKEiTWSBeFBQ_01DnFEDSSHChV7w1jpw7SM_KWLkHYXm6Wzaw_NOpMG_OFsi9D5R8Csx9Dxxxxxx.YuWNjbTMWYIwVKG5rw0VXJZzgWbwSfe",
  "user_id": "tmm-cm8gt41kuxxxx1l1d1n2wz8v"
}'
{
  "code": 0,
  "data": {
    "file_object_key": "temp/user/tmm-cm8gt41kuxxxx1l1d1n2wz8v/26f6272c-a847-4589-b352-a85471bb5121.csv"
  }
}

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.

Body

application/json
file_object_key
string
required

The object storage path to the file.

upload_id
string
required

The upload ID of the multipart upload task, which is returned when the Initiate multipart upload operation is done.

part_etags
object[]
required

The full list of ETag values.

The information about each part.

user_id
string
required

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

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.