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. Performs a stop followed by a start.

Path parameters

id
string
required
Computer ID.

Response

success
boolean
true if restart was initiated.
status
string
New status: restarting.

Use cases

  • Recovering from a hung or unresponsive state
  • Clearing temporary files and caches
  • Resetting the 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,
  "status": "restarting"
}

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"