Files
Export file
deprecated
Copy a file off a computer into workspace storage. Not currently available.
POST
Export file (unavailable)
Intended to copy a file off a computer’s filesystem into workspace storage and return a download URL.
with HTTP status 404.
Request
Send a JSON body.string
required
Computer ID to export from. Omitting it returns 400.
string
required
Path to the file on the computer. Omitting it returns 400. The value is forwarded to the computer unchanged. How it would be resolved is not defined, because no handler on the computer reads it.
Response
There is no success response. The request is rejected before any file is read. Calls that get as far as the computer return:Example
The call below is well-formed against a running computer and still returns 404.Getting a file off a computer today
Read the file over the computer’s shell and write it where you want it. To send a file the other way, use the upload endpoint: itsdestPath field places a file at an exact path on a computer.
Errors
Every error carries the shape{"error": "<message>"}. The checks below run in order, so the first one that fails is the status you get.
A failure reported by the computer is relayed with the computer’s own status code and its own error message, so statuses outside this list are possible if the software on the computer changes.
Authorizations
API key authentication. Get your key at orgo.ai/workspaces
Body
application/json