Retrieve the sandbox

GET/sandbox

Describes the sandbox associated with the current credentials.

With production credentials, the response describes the linked sandbox. If no sandbox has been provisioned, the request still succeeds and status is absent. With sandbox credentials, the response describes the sandbox itself.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Header Parameters

X-Client-Request-Id?string

Optional client-generated identifier of the request, up to 64 characters from [A-Za-z0-9._-]. Echoed back in the response and recorded in the request log; it never replaces the server-generated X-Request-Id.

Lengthlength <= 64

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/sandbox"
{  "data": {    "created_at": "2019-08-24T14:15:22Z",    "environment": "production",    "last_reset_at": "2019-08-24T14:15:22Z",    "last_reset_operation_id": "string",    "linked": true,    "object": "sandbox",    "scenario": {      "name": "string",      "seeded_at": "2019-08-24T14:15:22Z",      "version": 0    },    "status": "ready"  }}