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

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

async function run() {
  const result = await skylight.interact.type("<id>", {
    text: "Hello, world!",
    interval: 0.05,
  });

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

run();
{
  "message": "<string>",
  "status": "<string>"
}

Authorizations

X-API-Key
string
header
required

API key authentication

Path Parameters

instance_id
string
required

Body

application/json
text
string
required
interval
number | null
default:0.05
Required range: 0.01 <= x <= 0.5

Response

200
application/json
Successfully typed text
status
string
required

Status of the operation

Example:

"success"

message
string
required

Human-readable status message