Skip to main content
PATCH
/
computers
/
{id}
/
auto-stop
Update auto-stop setting
curl --request PATCH \
  --url https://www.orgo.ai/api/computers/{id}/auto-stop \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "auto_stop_minutes": 0
}
'
{
  "auto_stop_minutes": 0,
  "auto_suspend_after": "0s"
}
Read or update a computer’s auto-stop setting. When idle for the configured duration, the computer suspends to save resources and resumes on the next API call.
Auto-stop is configurable on paid plans. Free-tier computers always auto-stop after 15 minutes and cannot be changed.

GET — Read current setting

GET /computers/{id}/auto-stop

Response

auto_stop_minutes
integer
Current auto-stop in minutes. 0 means never auto-stop.
configurable
boolean
true if your plan allows changing this value.

PATCH — Update setting

PATCH /computers/{id}/auto-stop

Body parameters

auto_stop_minutes
integer
required
Minutes of inactivity before auto-stop. Set to 0 to disable.

Response

auto_stop_minutes
integer
New value, after the change.

Example

# Get current setting
curl https://www.orgo.ai/api/computers/a3bb189e-8bf9-3888-9912-ace4e6543002/auto-stop \
  -H "Authorization: Bearer $ORGO_API_KEY"

# Disable auto-stop (always-on)
curl -X PATCH https://www.orgo.ai/api/computers/a3bb189e-8bf9-3888-9912-ace4e6543002/auto-stop \
  -H "Authorization: Bearer $ORGO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"auto_stop_minutes": 0}'

Response

{
  "auto_stop_minutes": 0
}

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
auto_stop_minutes
integer
required

Minutes of inactivity before auto-stop. Set to 0 to disable.

Required range: x >= 0
Example:

0

Response

Auto-stop updated

auto_stop_minutes
integer
Example:

0

auto_suspend_after
string
Example:

"0s"