Api reference
Start a sandbox from a profile with a workspace for a project; setup continues in the background
POST
/v1/sandboxesAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
id?string|null
profileId*string
projectId*string
projectName?string|null
repoUrl?string|null
name?string|null
workspaceId?string|null
defersWorkspace?boolean|null
harnessId?string|null
agent?|null
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/sandboxes" \ -H "Content-Type: application/json" \ -d '{ "profileId": "string", "projectId": "string" }'{ "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"}