Skip to main content
POST
/
uploads
/
multipart
/
initiate
Initiate a multipart upload
curl --request POST \
  --url https://core.cyberun.cloud/api/v1/uploads/multipart/initiate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "storage_key": "models/019abc12-4567/019def34-5678",
  "file_size": 6800000000
}
'
{
  "upload_id": "<string>",
  "storage_key": "<string>",
  "part_size": 104857600,
  "part_count": 65
}

Documentation Index

Fetch the complete documentation index at: https://docs.cyberun.cloud/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User session JWT (Bearer ). Must be paired with the X-Team-ID request header on team-scoped endpoints so the server knows which team's resources to operate on.

Body

application/json

Initiate a multipart upload for a large file. Use the storage_key from a presign endpoint.

storage_key
string
required

S3 object key returned from a domain-specific presign endpoint.

Example:

"models/019abc12-4567/019def34-5678"

file_size
integer<int64>
required

Total file size in bytes.

Example:

6800000000

Response

Multipart upload initiated

upload_id
string
required

S3 multipart upload identifier.

storage_key
string
required

S3 object key for the upload.

part_size
integer<int64>
required

Recommended size in bytes for each part (except the last).

Example:

104857600

part_count
integer
required

Total number of parts to upload.

Example:

65