Skip to main content
GET
A Linux computer boots with one screen and can run up to four. Each screen is its own X server, with its own root window, its own cursor, and its own window manager. An agent working on one screen cannot disturb another.
Extra screens are a Linux feature. A macOS computer or an iPhone has exactly one screen, and this endpoint lists it as default with a display that is not an X display. A Windows computer has no screens endpoints, so it answers 404.

Screens after a restart

Extra screens come back after a restart. Each time a create, resize, or destroy succeeds, Orgo records the computer’s extra screens, with their ids and sizes, before it answers. After a restart, a start, or a resize that restarted the computer (restarted: true), Orgo makes them again with the same ids, so the same displays and ports. A stop keeps the record with the computer’s archive, so the start that follows brings them back too. A screen comes back empty. A restart ends every process, so the windows that were open on it are gone. The recreated screen has a window manager and nothing else, like a newly created one. Recreating screens is best effort:
  • It happens in the background. The restart or start answers without waiting for it. Orgo then waits up to three minutes for the computer to come up, and makes each screen it is missing. List the screens to see which are back.
  • A screen that cannot be made again is skipped, and the rest still come back.
  • If the computer stops running before it comes up, nothing is made.
Screens are not made again after an OS update, after a backup restore, or after a reboot that did not go through Orgo, such as reboot run on the computer itself. A computer that Orgo stops because its owner’s plan was downgraded does not keep them either. The boot screen is never recorded, so a size you give default with resize lasts only until the next restart, when it is back at the size the computer boots with.

Path parameters

string
required
Computer ID (UUID). The computer must be up. One that is still being created, or that has been frozen, returns 400.

Response

array
Every screen on the computer, the boot screen first and the rest in display order. Never empty while the computer is up.

Errors

Failures raised before the request reaches the computer carry error alone. Failures relayed back from the computer add request_id and upstream_status.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Computer ID

Response

The computer's screens

screens
object[]