Get a sandbox
GET
One sandbox: its state, size and when it is deleted.
apiKeyheader
AuthorizationBearer <hmk_…>An API key from the dashboard or homemade api-key create.
sandboxId*stringThe sandbox.
application/json- response
sandbox*A throwaway VM. It never sleeps and is deleted when its time runs out.
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 }}Get a sandbox's activity GET
What happened to the sandbox, oldest first: created, ready, every command and file write through the API, each extend. Commands are shortened, with the values of their env masked.
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.