Skip to Content
Homemade
Dashboard

List sandboxes

GET
/api/sandboxes

Every sandbox in your teams that is not deleted, oldest first. With ended=24h, also the ones deleted in the last 24 hours, newest first.

Authorization

apiKey
headerAuthorizationBearer <hmk_…>

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

Query Parameters

ended?"24h"

24h also lists the sandboxes deleted in the last 24 hours, under ended.

Value in"24h"
orgId?string

Only this team's sandboxes. Default: every team of yours.

Response Body

The sandboxes.

application/json
  1. response
ended?array<>
sandboxes*array<>
Example Request
curl -X GET 'https://api.homemade.dev/api/sandboxes'
Example Response
{  "ended": [    {      "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"      },      "endReason": "deleted",      "endedAt": "2019-08-24T14:15:22Z",      "property1": null,      "property2": null    }  ],  "sandboxes": [    {      "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    }  ]}