POST
/
v2
/
projects
/
{project_id}
/
volumes
/
{volume_id}
/
cp
/
initialize
curl --request POST \
  --url https://rest.cerebrium.ai/v2/projects/{project_id}/volumes/{volume_id}/cp/initialize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "file_path": "<string>",
  "part_count": 123
}'

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string
required
volume_id
string
required

Body

application/json
file_path
string
required

The destination path for the file.

part_count
integer
required

The number of parts the file contains. Positive Int.