Skip to main content
POST
Wait
Pauses on the computer for the given duration. The request blocks until the wait completes, so the round trip is at least as long as the pause you asked for.

Path parameters

string
required
Computer ID (UUID). An instance_id is not accepted here and fails with 500.

Body parameters

number
required
How long to pause, in seconds. Must be greater than 0 and no more than 60. Fractional values are allowed. Omitting it is the same as sending 0 and returns 400. There is no default.
number
deprecated
Deprecated alias for seconds, accepted for backwards compatibility. It is read only when seconds is absent; if you send both, seconds wins and duration is discarded. Same range and same validation.
Windows computers do not support wait. Their agent has no wait endpoint, so the request returns 404 with upstream_status: 404. Pause on your side instead.
wait takes no ?screen= parameter. Unlike the pointer and keyboard actions, sending one here is silently ignored rather than rejected. The pause is not tied to a screen.

Response

boolean
Always true on a 200.
string
Always wait.
object
Carries seconds, an echo of the duration that was waited.

Example

Response

Use waits sparingly. Prefer polling for the condition you actually care about, such as window focus or a file change, over fixed delays.

Errors

Every failure raised after the request leaves the API layer also carries a request_id. Quote it in support requests. When the computer agent itself answered non-2xx, the body additionally carries upstream_status.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Computer ID

Body

application/json
seconds
number
required

How long to pause, in seconds. Must be greater than 0 and no more than 60; fractions are allowed. Missing, 0, negative, or over 60 returns 400.

Required range: x <= 60
duration
number
deprecated

Deprecated alias for seconds. Read only when seconds is absent.

Required range: x <= 60

Response

Wait completed

success
boolean

Always true on a 200. A failed action is an error status.

Example:

true

action
string

The action performed: click, mouse_move, drag, type, key_press, scroll, or wait.

details
object

Echo of what was performed. Its fields depend on the action.

error
null

Always null on a 200.

error_type
null

Always null on a 200.