Skip to main content
POST
/
computers
/
{id}
/
wait
Wait
curl --request POST \
  --url https://www.orgo.ai/api/computers/{id}/wait \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "duration": 2
}'
{
  "success": true
}

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.

Pauses execution on the computer for the specified duration. The request blocks until the wait completes.

Path parameters

id
string
required
Computer ID (UUID).

Body parameters

duration
number
required
Duration in seconds (0-60).

Response

success
boolean
true when the wait completes.
action
string
Always wait.

Example

curl -X POST https://www.orgo.ai/api/computers/a3bb189e-8bf9-3888-9912-ace4e6543002/wait \
  -H "Authorization: Bearer $ORGO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"duration": 2.0}'

Response

{
  "success": true,
  "action": "wait"
}
Use waits sparingly — prefer polling for the condition you actually care about (window focus, file change) over fixed delays.

Errors

StatusMeaning
400Invalid or out-of-range duration, or computer instance not available.
401Missing or invalid API key.
403You do not have access to this computer.
404Computer not found.
500Upstream desktop agent failure.

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
duration
number
required

Duration in seconds

Required range: 0 <= x <= 60

Response

Wait completed

success
boolean
Example:

true