# sandboxHealth

```graphql
query SandboxHealth($sandboxId: ID!) {
  sandboxHealth(sandboxId: $sandboxId) {
    ok
    status
    reason
  }
}
```

Check sandbox health. Requires project.sandboxes.manage.

## Arguments

| Name        | Type | Required | Description |
| ----------- | ---- | -------- | ----------- |
| `sandboxId` | ID!  | Yes      |             |

## Variables

```json
{
  "sandboxId": "string"
}
```

## Responses

| Status | Description                                     |
| ------ | ----------------------------------------------- |
| 200    | The SandboxRuntimeCheck! in data.sandboxHealth. |

## Call it

```bash
curl -X POST "https://api.veryfront.com/graphql" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "query SandboxHealth($sandboxId: ID!) {\n  sandboxHealth(sandboxId: $sandboxId) {\n    ok\n    status\n    reason\n  }\n}",
  "variables": {
    "sandboxId": "string"
  }
}'
```

## Example response

```json
{
  "data": {
    "sandboxHealth": {
      "ok": false,
      "status": "pending",
      "reason": "string"
    }
  }
}
```
