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
keys
string[]
required

Response

Successfully pressed keys

status
string
required

Status of the operation

Example:

"success"

message
string
required

Human-readable status message