Skip to main content
PUT
Finalize an Agent workspace upload

Authorizations

Authorization
string
header
required

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

Path Parameters

agentId
string
required
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 - undefined
Last modified on September 5, 2026