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
}
Pauses execution for the specified duration.

Path parameters

id
string
required
Computer ID.

Request

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

Response

success
boolean
true when wait completes.

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
}
Use waits to allow UI elements to load or animations to complete before taking the next action.

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