Skip to main content
POST
/
api
/
v1
/
sandboxes
{
  "sandbox": {
    "id": "e7847229c547d8",
    "name": "sandbox-node-1",
    "state": "started",
    "region": "iad",
    "image": "node:18-alpine",
    "createdAt": "2023-12-01T00:00:00Z",
    "stopAt": "2023-12-01T01:00:00Z",
    "publicAccessUrlTemplate": "{{PORT}}-m_01h9z60rm0ex1rc4x-sandbox-shared-app-fly.apps.simplesandbox.dev"
  }
}

Body

application/json
image
string
required

Docker image to run inside the shared Fly app

Example:

"node:18-alpine"

timeoutMs
integer

Optional timeout in milliseconds for the sandbox. Defaults to 10 minutes (600000ms). Maximum 1 hour (3600000ms) from creation for FREE users.

Required range: x > 0
Example:

600000

Response

Sandbox created

sandbox
object
required