Skip to main content
POST
Wait for an exec

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Sail-Owner-Override-Reason
string

Lets an organization admin operate a private Sailbox someone else created. Say why in plain text; the reason goes into your organization's audit log, and the operation is refused without it. Ignored on Sailboxes you could already operate.

Pause, resume, sleep, scheduled wake, upgrade, and terminate accept an override. Attaching or clearing an HTTP policy accepts one too. Running commands and moving files accept one through an SDK or the CLI. Publishing and unpublishing ports, adding and removing custom domains, checkpointing, and creating from a checkpoint stay with the creator.

Pattern: ^[ -~]*$

Path Parameters

sailbox_id
string
required

Id of the Sailbox, as returned by create. It is sb_ followed by a UUID.

exec_id
string
required

Exec id from the started event.

Minimum string length: 1

Response

Success.

exec_request_id
string
required
status
enum<string>
required
Available options:
running,
succeeded,
failed,
timed_out,
worker_lost,
unspecified
stdout
string
required
stderr
string
required
return_code
integer
required
stdout_truncated
boolean
required
stderr_truncated
boolean
required
timed_out
boolean
required