---
title: "Sandbox status"
method: GET
path: "/sandbox/status"
tags: ["sandbox"]
---

# Sandbox status

`GET /sandbox/status`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/sandbox/status`
- Auth: HTTP bearer

Report whether this is the developer sandbox and which org the key acts as.

Answers on every deployment. In the developer sandbox: ``sandbox: true``,
``environment: "sandbox"``. Anywhere else: ``sandbox: false`` and
``environment`` is ``"live"`` (production) or ``"qa"``. The other
``/sandbox/*`` routes exist only in the sandbox and return 404 elsewhere.

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Response `200`

Successful Response

- SandboxStatusResponse
  - `sandbox` boolean
  - `environment` string: Which graph8 deployment answered: 'sandbox' (developer sandbox), 'qa' (the QA environment) or 'live' (production).
  - `org_id` string, required
  - `message` string, required
  - `key_mode` string, nullable: Mode of the API key that made the call: 'live', 'test' or 'sandbox'.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/2e7cfa0ca921?raw)
