POST
/
interact
/
screenshot
/
{instance_id}
import { Skylight } from "skylight-sdk";

const skylight = new Skylight({
  apikey: process.env["SKYLIGHT_APIKEY"] ?? "",
});

async function run() {
  const result = await skylight.interact.screenshot("<id>");

  // Handle the result
  console.log(result);
}

run();
"<any>"

Authorizations

X-API-Key
string
header
required

API key authentication

Path Parameters

instance_id
string
required

Response

200
application/json
Screenshot image of the instance

The response is of type any.