Tools/Navigation

Deprecated: use POST /devices/{deviceId}/screenshots. Captures the device screen and returns it as a PNG image. An optional hideOverlay query parameter excludes the accessibility overlay from the capture.

get/devices/{deviceId}/screenshot

Request

  • Base URL
    https://api.mobilerun.ai
  • URL
    https://api.mobilerun.ai/devices/{deviceId}/screenshot
  • Auth
    HTTP bearer

Path parameters

deviceIdstring required

Query parameters

hideOverlayboolean
saveboolean

Store the screenshot as device media: in the owner's active recording, or standalone for 7 days. Without save=true nothing is stored. The PNG response is unchanged; X-Screenshot-Saved reports whether it was stored.

Headers

X-Device-Display-IDinteger

Response

OK

string byte required

Changes