Upload and stage a runtime file

View as Markdown
Upload a local file into the runtime space and materialize it into the live runtime in one request.

Authentication

AuthorizationBearer

Use Bearer <api-key>.

Path parameters

runtimeIdstringRequired

Request

This endpoint expects a multipart form containing a file.
filefileRequired
File bytes to upload to the runtime space and materialize in the runtime.
metadatastringOptional

Optional JSON object string with caller-owned file metadata.

namestringOptional<=255 characters
Optional display filename and staged runtime filename.
storagePathstringOptional<=4096 characters
Optional durable storage destination path before staging into the runtime. When omitted, the server generates a managed path.

Response

Default Response
fileobject
stagedobject