Wait for an asynchronous execution to reach a specific status.
Polls the asynchronous execution’s status until it reaches one of the desired statuses or times out. Max is 25 seconds.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The Devbox ID.
The Async Execution ID.
Query Parameters
Last n lines of standard error / standard out to return (default: 100)
Body
The command execution statuses to wait for. At least one status must be provided. The command will be returned as soon as it reaches any of the provided statuses.
queued, running, completed (Optional) Timeout in seconds to wait for the status, up to 25 seconds. Defaults to 25 seconds.
Response
OK
Devbox id where command was executed.
Ephemeral id of the execution in progress.
Current status of the execution.
queued, running, completed Shell name.
Standard out generated by command. This field will remain unset until the execution has completed.
Standard error generated by command. This field will remain unset until the execution has completed.
Exit code of command execution. This field will remain unset until the execution has completed.
Indicates whether the stdout was truncated due to size limits.
Indicates whether the stderr was truncated due to size limits.
