Limits

Latency

Desktop methods run synchronously over authenticated HTTP RPC. Typical round-trip from the MIOSA edge:

Method typeTypical latency
Click, key, scroll, type30-80 ms
Screenshot100-300 ms (compression-bound)
Window list50-100 ms
bash() / python()50 ms plus command execution time

For high-frequency loops, prefer bash() for multi-step operations over many individual GUI calls. GET /desktop/window-state returns the screenshot and the accessibility tree together, so perception costs one round trip instead of two.

Coordinate space

Coordinates are screen pixels with the origin at the top-left, matching what GET /desktop/screen-size and GET /desktop/cursor report. A vision model may be shown a scaled-down screenshot; map its output back to screen pixels before sending an action.

Screenshots

Screenshots are PNG. A full desktop image is typically a few hundred kilobytes; regions are smaller. Use /desktop/screenshot/region when only part of the screen matters, and window-state when you need pixels and structure at once.

Sizing

SizevCPURAMDiskTypical use
xs12 GB10 GBLightweight headless tasks
small24 GB20 GBDefault for a single agent and basic browsing
medium48 GB50 GBHeavier desktop apps, faster page loads
large816 GB100 GBMulti-app, large-context workloads
xl1632 GB200 GBIntensive parallelism

GPU support for accelerated desktop and GPU-aware workflows is plan-dependent.

Lifecycle

create creates provisioning; provisioning goes to running on ready; running goes to stopped on stop, and back to running on start.
running goes to recovering on host maintenance; recovering goes to running on restored.
recovering goes to error on recovery fails.
running or stopped goes to deleted on delete.

Stopping a Computer pauses compute and preserves the filesystem and browser profile. Restarting resumes from that state. Desktop endpoints only accept requests while the Computer is running; otherwise they return 409 COMPUTER_NOT_RUNNING.

Authentication

Desktop methods require the same workspace API key as every other MIOSA resource. Call them server-side. For browser-side control, mint a scoped token instead of shipping the API key - see Embedding & streaming.

Rate limits

Rate limits vary by key, tenant policy, and endpoint family. Honor X-RateLimit-* and Retry-After response headers. Individual desktop actions are fast, but a tight perceive-act loop still issues many requests; batch where the work does not need pixels.

Errors

StatusCodeCause
409COMPUTER_NOT_RUNNINGThe Computer is stopped, provisioning, or recovering
502AGENT_UNAVAILABLEThe agent inside the Computer did not answer
429-Rate limited
Was this page helpful?