Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

IAM bearer token issued by the Nebius IAM service. Sent as Authorization: Bearer <iam-token>. Must be combined with the Project header (see IAMProjectHeader).

This is the recommended authentication scheme for new clients.

Project
string
header
required

Nebius project ID associated with the IAM token. Required together with IAMBearerAuth. Identifies the project context the request is scoped to.

Body

application/octet-stream

The body is of type file.

Response

Created - The file has been successfully uploaded

uuid
string<uuid>
required

A UUID string

Example:

"12345678-9abc-baba-deda-0123456789ab"

sha256
string
required

SHA256 hash of the file content

Example:

"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"

size
integer<int64>
required

File size in bytes; -1 if unknown

Example:

1024