Look up a sandbox

You can look up an individual sandbox by making a GET request that includes the sandbox’s name property in the request path.

API format

GET /sandboxes/{SANDBOX_NAME}
ParameterDescription
{SANDBOX_NAME}The name property of the sandbox you want to look up.

Request

The following request retrieves a sandbox named “dev-2”.

curl -X GET \
  https://platform.adobe.io/data/foundation/sandbox-management/sandboxes/dev-2 \
  -H 'Authorization: Bearer {ACCESS_TOKEN}' \
  -H 'x-api-key: {API_KEY}' \
  -H 'x-gw-ims-org-id: {ORG_ID}' \

Response

A successful response returns the details of the sandbox, including its name, title, state, and type.

{
    "name": "dev-2",
    "title": "Development 2",
    "state": "creating",
    "type": "development",
    "region": "VA7",
    "isDefault": false,
    "eTag": 1,
    "createdDate": "2019-09-07 10:16:02",
    "lastModifiedDate": "2019-09-07 10:16:02",
    "createdBy": "{USER_ID}",
    "modifiedBy": "{USER_ID}"
}
PropertyDescription
nameThe name of the sandbox. This property is used for lookup purposes in API calls.
titleThe display name for the sandbox.
state

The current processing state of the sandbox. A sandbox’s state can be any of the following:

  • creating: The sandbox has been created, but is still being provisioned by the system.
  • active: The sandbox is created and active.
  • failed: Due to an error, the sandbox was not able to be provisioned by the system and is disabled.
  • deleted: The sandbox has been manually disabled.
typeThe sandbox type. The current supported sandbox types include: development and production.
isDefaultA boolean property indicating whether this sandbox is the default sandbox for the organization. Typically this is the production sandbox.
eTagAn identifier for a specific version of the sandbox. Used for version control and caching efficiency, this value is updated each time a change is made to the sandbox.