Skip to main content
POST
/
v1
/
datasets
/
uploads
/
{upload_id}
/
complete
Complete a multipart upload, create a new dataset
curl --request POST \
  --url https://api.tokenfactory.nebius.com/v1/datasets/uploads/{upload_id}/complete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "part_ids": [
    "<string>"
  ]
}
'
{
  "id": "<string>",
  "upload_info": {
    "status": "PENDING",
    "dataset": {
      "name": "<string>",
      "schema": [
        {
          "name": "<string>",
          "type": {
            "name": "string"
          }
        }
      ],
      "folder": "<string>",
      "id": "4d89c87498354518b92fa02fc0ad8720"
    },
    "created_at": 123,
    "error": null,
    "completed_at": 1760109124,
    "ai_project_id": "example_project"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

upload_id
string
required

Query Parameters

ai_project_id
string | null

Body

application/json
part_ids
string[]
required

Response

Successful Response

id
string
required

The object identifier, which can be referenced in the API endpoints.

Example:

"4d89c87498354518b92fa02fc0ad8720"

upload_info
UploadInfoResponse · object
required

Detailed information about the upload