Documentation Index
Fetch the complete documentation index at: https://docs.orgo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Exports a file from a computer’s filesystem and returns a download URL.
The computer must be running to export files.
Request
Computer ID to export from.
Path to the file on the computer.
| Format | Example |
|---|
| Relative to home | Desktop/results.txt |
| Absolute path | /home/user/Desktop/results.txt |
| With tilde | ~/Desktop/results.txt |
Response
true if export succeeded.
The exported file object.
Signed download URL (expires in 1 hour).
Example
curl -X POST https://www.orgo.ai/api/files/export \
-H "Authorization: Bearer $ORGO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"desktopId": "a3bb189e-8bf9-3888-9912-ace4e6543002",
"path": "Desktop/results.txt"
}'
Response
{
"success": true,
"file": {
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"filename": "results.txt",
"size_bytes": 1024,
"content_type": "text/plain",
"created_at": "2024-01-15T10:30:00Z"
},
"url": "https://storage.example.com/files/..."
}
Files can only be exported from within /home/user. Paths outside this directory return a 403 error.
API key authentication. Get your key at orgo.ai/workspaces
Path to file on computer (e.g., Desktop/results.txt)
Signed download URL (expires in 1 hour)