Skip to main content
POST
/
computers
/
{id}
/
restart
Restart computer
curl --request POST \
  --url https://www.orgo.ai/api/computers/{id}/restart \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "status": "restarting"
}
Restarts a computer. Equivalent to stop + start.
A small number of legacy hosts are still being migrated to the new VMM. On those hosts this endpoint may return 405 Method Not Allowed. Fall back to calling stop followed by start if you hit this.

Path parameters

id
string
required
Computer ID.

Response

success
boolean
true if restart was initiated.

Use cases

  • Recover from a hung or unresponsive state
  • Clear temporary files and caches
  • Reset the running environment

Example

curl -X POST https://www.orgo.ai/api/computers/a3bb189e-8bf9-3888-9912-ace4e6543002/restart \
  -H "Authorization: Bearer $ORGO_API_KEY"

Response

{
  "success": true
}

Errors

  • 401 - Invalid or missing API key
  • 403 - You don’t have access to this computer
  • 404 - Computer not found
  • 405 - Not supported on legacy hosts (rare; use stop + start)

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Computer ID

Response

Computer restarting

success
boolean
Example:

true

status
string
Example:

"restarting"