Skip to main content
POST
Upload a Computer Agent workspace file

Authorizations

token
string
query
required

Vida API Token

Path Parameters

targetAccountId
string
required

Query Parameters

targetAccountId
integer

Select an account the requester is authorized to access. Omit to use the authenticated account. This parameter does not grant additional privileges.

Body

multipart/form-data
path
string
required

Workspace-relative destination path.

file
file
required

File to upload. Zero-byte files are supported.

overwrite
boolean
default:false

Replace an existing file at the destination path.

mode
string

Optional Unix file permissions.

Pattern: ^[0-7]{3,4}$
Example:

"0600"

Response

200

Successful response