POST
/
windows
/
resume
/
{instance_id}
import os
from skylight_sdk import Skylight


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

    res = skylight.windows.resume(instance_id="<id>")

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

Authorizations

X-API-Key
string
header
required

API key authentication

Path Parameters

instance_id
string
required

Response

200
application/json
Instance resumed successfully
status
string
required

Status of the operation

Example:

"success"

message
string
required

Human-readable status message

Example:

"Operation completed successfully"

state
string
required

State of the instance (running, pending, hibernated, terminated)

Example:

"running"

livestream_url
string
required

URL to livestream the instance

Example:

"launchskylight.com/embed/i-123456"