Skip to main content
POST
/
computers
/
{id}
/
files
/
upload
Upload File to Computer
curl --request POST \
  --url https://www.orgo.ai/api/computers/{id}/files/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "file": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "filename": "<string>",
    "size_bytes": 123,
    "content_type": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "desktop_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}
Upload a file to a computer’s Desktop folder. The file will automatically sync to all running computers in the project.

Supported Files

  • Maximum file size: 10MB
  • All file types supported

Example

curl -X POST https://www.orgo.ai/api/computers/{id}/files/upload \
  -H "Authorization: Bearer sk_live_..." \
  -F "file=@./document.pdf"

Authorizations

Authorization
string
header
required

API key authentication. Format: sk_live_...

Path Parameters

id
string
required

Computer ID

Body

multipart/form-data
file
file
required

File to upload (max 10MB)

Response

File uploaded successfully

file
object