Codevisor Docs
Api reference

Wake a paused sandbox; it shows waking until its Codevisor is back, then running

POST/v1/sandboxes/{id}/wake

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/sandboxes/string/wake"
{  "id": "string",  "provider": "tart",  "name": "string",  "projectId": "string",  "projectName": "string",  "repoUrl": "string",  "profileId": "string",  "profileName": "string",  "accountId": "string",  "state": "creating",  "createdAt": "string",  "createdOn": "string",  "providerMachineId": "string",  "platform": "linux",  "expiresAt": "string",  "deviceId": "string",  "machineId": "string",  "remoteProjectId": "string",  "workspaceId": "string",  "workspaceName": "string",  "restoresWorkspace": true,  "hasSavedWork": true,  "workLost": "string",  "hasSavedChats": true,  "chatsLost": "string",  "defersWorkspace": true,  "workspaceOpenedAt": "string",  "placeholderPending": true,  "plan": [    "tart"  ],  "steps": [    {      "stage": "tart",      "startedAt": "string",      "endedAt": "string"    }  ],  "harnessId": "string",  "agent": {    "prompt": "string",    "title": "string",    "harness": "string",    "model": "string",    "labels": {      "property1": "string",      "property2": "string"    },    "standalone": true,    "createdByAgentId": "string"  },  "agentId": "string",  "power": "paused",  "lastActiveAt": "string",  "pausedSnapshot": "string",  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}