Sandboxes

List every live sandbox on one node, from all owners. Admin only: it exposes other users' sandboxes.

Changed on
get/v1/sandboxes/placement/nodes/{node}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

nodestring required

Worker name or id, or control-plane / 0

Query parameters

pageinteger nullable

1-based page (default 1).

page_sizeinteger nullable

Items per page (default 20, max 100).

Response

Sandboxes on the node

pageinteger required
page_sizeinteger required
totalinteger required

Every live sandbox on the node, across all pages.

Example response

{
  "sandboxes": [
    {
      "sandbox": {
        "egress_policy": {
          "rules": [
            {
              "cidr": "1.1.1.0/24",
              "host": "api.example.com"
            }
          ]
        }
      }
    }
  ]
}

Changes

    • info

      added the optional property node/backends to the response with the status

    • info

      added the required property sandboxes/items/sandbox/egress_policy to the response with the status

    • info

      added the required property sandboxes/items/sandbox/preview_access to the response with the status

    1 more change in this revision