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


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

    res = skylight.interact.keypress(instance_id="<id>", keys=[
        "super",
        "shift",
        "s",
    ])

    # Handle response
    print(res)
{
  "message": "<string>",
  "status": "<string>"
}

Authorizations

X-API-Key
string
header
required

API key authentication

Path Parameters

instance_id
string
required

Body

application/json

Response

200
application/json

Successfully pressed keys

The response is of type object.