> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get screen dimensions of the sandbox desktop

> Screen dimensions

### Path parameters

<ParamField path="id" type="string (uuid)" required>
  Sandbox identifier
</ParamField>

### Response

`object`

<ResponseField name="width" type="integer" required>
  Screen width in pixels
</ResponseField>

<ResponseField name="height" type="integer" required>
  Screen height in pixels
</ResponseField>

### Status codes

| Code  | Meaning                   |
| ----- | ------------------------- |
| `200` | Screen dimensions         |
| `404` | Sandbox not found         |
| `500` | Failed to get screen size |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/screen' \
    --header "Authorization: Bearer $STATESET_SANDBOX_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "width": 1,
    "height": 1
  }
  ```
</ResponseExample>
