ApplesauceOS
Read Markdown ↗Download .md

GET /ui/screenshot

Retrieve the PNG belonging to an observation.

This is a device HTTP route. Set DEVICE_URL to your reachable device URL; connection and examples explain how. Do not append this path to the public MCP URL.

Parameters

ParameterTypeMeaning
observationIdquery stringRequired ID captured with screenshot:true.

Response

PNG bytes; 404 if missing, expired or not requested.

Example

sh
curl --fail-with-body "$DEVICE_URL/ui/screenshot?observationId=OBSERVATION_ID" --output observation.png

Notes

This is the cached observation image, not a fresh screenshot. Use /device/screenshot for a new full-screen capture.

Check the HTTP status and any JSON error. HTTP workflows and error handling explain shared limits. All endpoints.