Get sandbox environment snapshot

sandboxEnvironment(sandboxId: ID!): SandboxEnvironment!

Requires project.sandboxes.manage.

Arguments

ArgumentTypeRequired
sandboxIdID!Yes

Response

Returns SandboxEnvironment!. Open the type for its fields and nested types.

FieldTypeDescription
envStringMap!Variable names copied into the sandbox from its environment, with redacted values.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
query SandboxEnvironment($sandboxId: ID!) {
  sandboxEnvironment(sandboxId: $sandboxId) {
    env
  }
}
json
{
  "sandboxId": "00000000-0000-4000-8000-000000000001"
}