Skip to main content
PUT
Update file content

Authorizations

Authorization
string
header
required

JWT authentication token

Query Parameters

project_id
string<uuid>

Optional project ID for project-scoped sandbox files

sandbox
string

Route file operations to a specific sandbox (cloud or a self-hosted display name / hostname). When omitted, the Neo-managed cloud sandbox is used. Self-hosted sandboxes require an explicit selection.

Body

multipart/form-data
file
file
required
file_key
string
required

Required file key to replace

chat_id
string

Response

File updated

error
string
file_url
string

Signed URL to access the file

key
string

File key for operations (delete, move, patch, replace)

size
integer

File size in bytes

success
boolean
url_expire_in_seconds
integer