Skip to main content
GET
Wait for State

Authorizations

Authorization
string
header
required

A Fly API token with access to the requested organization or resource. Send it as Authorization: Bearer <Fly API token>.

Path Parameters

app_name
string
required

Fly App Name

machine_id
string
required

Machine ID

Query Parameters

version
string

26-character Machine version ID

instance_id
string

26-character Machine version ID (deprecated; use version)

from_event_id
string

26-character Machine event ID to start waiting after

timeout
integer

wait timeout. default 60s

state
enum<string>

desired state(s), supports repeated or comma-separated values

Available options:
started,
stopped,
suspended,
destroyed,
failed,
settled

Response

OK

event_id
string
ok
boolean
state
string
version
string