Skip to main content
POST
Upload file
Uploads a file to a workspace, optionally associated with a specific computer.

Request

Send a multipart/form-data request with the file and workspace information:
file
required
File to upload. Maximum size: 10MB.
string
required
Workspace ID to upload the file to.
string
Optional computer ID to associate the file with.

Response

object
The uploaded file object.

Example

Response

Uploaded files are stored in the workspace and can be accessed by all computers in that workspace.

Authorizations

Authorization
string
header
required

API key authentication. Get your key at orgo.ai/workspaces

Body

multipart/form-data
file
file
required

File to upload (max 10MB)

projectId
string
required

Workspace ID

desktopId
string

Optional computer ID to associate the file with

Response

File uploaded

file
object