Upload Runtime File
Upload a local file directly into the runtime workspace (also stored as a space file). Use stage if the file is already in the store.
Authentication
AuthorizationBearer
Use Bearer <api-key>.
Path parameters
runtimeId
Request
This endpoint expects a multipart form containing a file.
destinationPath
Optional durable BCTRL file path before staging into the runtime. When omitted, the server generates a managed path.
file
File bytes to upload to the runtime space and materialize in the runtime.
metadata
Optional JSON object string with caller-owned file metadata.
name
Optional display filename and staged runtime filename.
runtimePath
Optional runtime workspace destination path. Must be relative to the runtime workspace.
Response
OK
expiresAt
id
name
runtimeId
runtimePath
sizeBytes
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error

