Skip to Content
Homemade
Dashboard

Get a sandbox

GET
/api/sandboxes/{sandboxId}

One sandbox: its state, size and when it is deleted.

Authorization

apiKey
headerAuthorizationBearer <hmk_…>

An API key from the dashboard or homemade api-key create.

Path Parameters

sandboxId*string

Response Body

The sandbox.

application/json
  1. response
sandbox*

A throwaway VM. It never sleeps and is deleted when its time runs out.

Example Request
curl -X GET 'https://api.homemade.dev/api/sandboxes/string'
Example Response
{  "sandbox": {    "createdAt": "2019-08-24T14:15:22Z",    "createdBy": {      "apiKeyName": "string",      "clientName": "string",      "userName": "string",      "via": "dashboard"    },    "envNames": [      "string"    ],    "expiresAt": "2019-08-24T14:15:22Z",    "id": "string",    "projectId": "string",    "projectName": "string",    "region": "string",    "size": "string",    "startedAt": "2019-08-24T14:15:22Z",    "state": "queued",    "urls": {      "property1": "string",      "property2": "string"    },    "property1": null,    "property2": null  }}