curl --request GET \
--url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/screen' \
--header "Authorization: Bearer $STATESET_SANDBOX_API_KEY"
{
"width": 1,
"height": 1
}
Get screen dimensions of the sandbox desktop
Screen dimensions
GET
/
api
/
v1
/
sandbox
/
{id}
/
screen
curl --request GET \
--url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/screen' \
--header "Authorization: Bearer $STATESET_SANDBOX_API_KEY"
{
"width": 1,
"height": 1
}
Path parameters
string (uuid)
required
Sandbox identifier
Response
object
integer
required
Screen width in pixels
integer
required
Screen height in pixels
Status codes
| Code | Meaning |
|---|---|
200 | Screen dimensions |
404 | Sandbox not found |
500 | Failed to get screen size |
curl --request GET \
--url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/screen' \
--header "Authorization: Bearer $STATESET_SANDBOX_API_KEY"
{
"width": 1,
"height": 1
}
Last modified on August 31, 2026