Skip to main content
PUT
Finalize uploaded file.

Authorizations

Authorization
string
header
required

Bearer JWT token or API Key (sk-*).

Path Parameters

storageUploadSessionId
string
required

Body

application/json
metadata
object

Optional metadata replacement at finalize time. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use.

Example:
computeStats
enum<string>

Optional post-finalize compute mode.

Available options:
none,
sync,
async
Example:

"async"

Response

200

OK.

Last modified on September 5, 2026