POST
/
interact
/
screenshot
/
{instance_id}
Python (SDK)
import os
from skylight_sdk import Skylight


with Skylight(
    apikey=os.getenv("SKYLIGHT_APIKEY", ""),
) as skylight:

    res = skylight.interact.screenshot(instance_id="<id>")

    # Handle response
    print(res)
{
  "image": "base64_encoded_image_data"
}

Authorizations

X-API-Key
string
header
required

API key authentication

Path Parameters

instance_id
string
required

Response

Screenshot image of the instance

image
string
required

Base64-encoded JPEG image of the instance screenshot