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
Current auto-stop in minutes. 0 means never auto-stop.
true if your plan allows changing this value.
PATCH — Update setting
PATCH /computers/{id}/auto-stop
Body parameters
Minutes of inactivity before auto-stop. Set to 0 to disable.
Response
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
}
API key authentication. Get your key at orgo.ai/workspaces
Minutes of inactivity before auto-stop. Set to 0 to disable.
Required range: x >= 0