Sandboxes

GET /v1/sandboxes

Changed on

Request

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

Query parameters

pageinteger

Page (1-indexed)

page_sizeinteger

Items per page (default 20, max 100)

lifecyclestring

Filter by lifecycle class: "ephemeral" or "workspace"

project_idinteger

Filter to sandboxes created from a project

Response

List sandboxes

Example response

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

Changes

    • info

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

    • info

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

    • info

      added the required property sandboxes/items/preview_allowed_cidrs to the response with the status