Skip to main content
POST
Runtime Create Upload

Authorizations

Authorization
string
header
required

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

Query Parameters

bucket
string

Bucket name to address (see buckets.list). The bucket must belong to this organization and be either an organization-level shared bucket or scoped to this project — any other name answers 404. Omitted, the operation addresses the project's original per-environment storage scope, exactly as before buckets existed; that legacy scope is separate from every named bucket, including the project's default bucket. The runtime capability still fixes the project and environment. With a bucket, the object lands only in a project-visible bucket namespace.

Pattern: ^[a-z][a-z0-9-]{1,61}$

Body

application/json
filename
string
required
contentType
string
required
byteLength
integer
required

Exact size of the upload in bytes.

Response

Short-lived signed upload. PUT the bytes with the returned headers before expiry.

key
string
required

Scope-relative object key.

url
string
required
method
enum<string>
required
Available options:
PUT
headers
object
required
expiresAt
string<date-time>
required