v1

latestOpenAPI 3.1.0MIT2026-07-1774067.6 KB
ui

Capture screenshot

Captures a screenshot of the entire screen or a specific element.

get/api/v1/ui/screenshot

Query parameters

elementIdstring

Element to screenshot. If omitted, captures the full screen.

maxWidthinteger

Maximum width in pixels. The image is scaled down if wider.

scale'native' | 'auto'

Scale mode. native returns at device pixel density; auto returns a reasonable size for agent consumption.

format'png' | 'jpeg'

Image format.

Response

Screenshot image.