Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
API Reference
Every endpoint, with a playground
curl --request POST \ --url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/screenshot' \ --header "Authorization: Bearer $STATESET_SANDBOX_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "format": "png", "quality": 85, "region": { "x": 1, "y": 1, "width": 1, "height": 1 } }'
{ "image": "aGVsbG8=", "format": "png" }
Screenshot as base64-encoded image
ScreenshotRequest
object
200
400
404
500