Upload deployment file content

View as Markdown
Streams bytes into a previously reserved key. The declared reservation size is a hard ceiling. The file becomes ready and attachable only after this request succeeds.

Authentication

AuthorizationBearer
OAuth 2.0 device flow or platform session token

Path parameters

deploymentIdstringRequired
Deployment ID
fileKeystringRequired

Opaque Files API key returned at reservation time, or an agent-produced filename

Request

This endpoint expects binary data of type application/octet-stream.

Response

Reconciled ready-file metadata

keystring
namestring
sizelong
content_typestring
updated_atdatetime
uploaded_bystring
Opaque owner identity. Omitted when not applicable.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
413
Content Too Large Error
500
Internal Server Error
503
Service Unavailable Error
507
Insufficient Storage Error