List sandboxes
GET
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.
apiKeyheader
AuthorizationBearer <hmk_…>An API key from the dashboard or homemade api-key create.
ended?"24h"24h also lists the sandboxes deleted in the last 24 hours, under ended.
Value in
"24h"orgId?stringOnly this team's sandboxes. Default: every team of yours.
The sandboxes.
application/json- response
ended?array<>sandboxes*array<>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 } ]}