Optionalbody: DevboxCreateParamsOptionaloptions: RequestOptions<unknown>Create a Devbox and begin the boot process. The Devbox will initially launch in the 'provisioning' state while Runloop allocates the necessary infrastructure. It will transition to the 'initializing' state while the booted Devbox runs any Runloop or user defined set up scripts. Finally, the Devbox will transition to the 'running' state when it is ready for use.
Optionaloptions: RequestOptions<unknown>Get the latest details and status of a Devbox.
Optionaloptions: RequestOptions<unknown>Wait for a devbox to reach the running state. Polls the devbox status until it reaches running state or fails with an error.
Devbox ID
Optionaloptions: RequestOptions<unknown> & { polling?: Partial<PollingOptions<DevboxView>> }request options to specify retries, timeout, polling, etc.
Wait for a devbox to reach the suspended state. Polls the devbox status until it reaches suspended state or fails with an error.
Devbox ID
Optionaloptions: RequestOptions<unknown> & { polling?: Partial<PollingOptions<DevboxView>> }request options to specify retries, timeout, polling, etc.
Create a devbox and wait for it to reach the running state. This is a convenience method that combines create() and awaitDevboxRunning().
Optionalbody: DevboxCreateParamsDevboxCreateParams
Optionaloptions: RequestOptions<unknown> & { polling?: Partial<PollingOptions<DevboxView>> }request options to specify retries, timeout, polling, etc.
Updates a devbox by doing a complete update the existing name,metadata fields. It does not patch partial values.
Optionalbody: DevboxUpdateParamsOptionaloptions: RequestOptions<unknown>Updates a devbox by doing a complete update the existing name,metadata fields. It does not patch partial values.
Optionaloptions: RequestOptions<unknown>List all Devboxes while optionally filtering by status.
Optionalquery: DevboxListParamsOptionaloptions: RequestOptions<unknown>List all Devboxes while optionally filtering by status.
Optionaloptions: RequestOptions<unknown>Create an SSH key for a Devbox to enable remote access.
Optionaloptions: RequestOptions<unknown>[Deprecated] Use POST /v1/devboxes/{id}/enable_tunnel instead. This endpoint creates a legacy tunnel. The new enable_tunnel endpoint provides improved tunnel functionality with authentication options.
Optionaloptions: RequestOptions<unknown>Delete a previously taken disk snapshot of a Devbox.
Optionaloptions: RequestOptions<unknown>Download file contents of any type (binary, text, etc) from a specified path on the Devbox.
Optionaloptions: RequestOptions<unknown>Execute a command with a known command ID on a devbox, optimistically waiting for it to complete within the specified timeout. If it completes in time, return the result. If not, return a status indicating the command is still running. Note: attach_stdin parameter is not supported; use execute_async for stdin support.
Optionaloptions: RequestOptions<unknown>Execute a command and wait for it to complete with optimal latency for long running commands that can't rely on just polling.
Optionaloptions: RequestOptions<unknown> & {Execute the given command in the Devbox shell asynchronously and returns the execution that can be used to track the command's progress.
Optionaloptions: RequestOptions<unknown>Execute a bash command in the Devbox shell, await the command completion and return the output. Note: attach_stdin parameter is not supported for synchronous execution.
Optionaloptions: RequestOptions<unknown>Send a 'Keep Alive' signal to a running Devbox that is configured to shutdown on idle so the idle time resets.
Optionaloptions: RequestOptions<unknown>List all snapshots of a Devbox while optionally filtering by Devbox ID, source Blueprint ID, and metadata.
Optionalquery: DevboxListDiskSnapshotsParamsOptionaloptions: RequestOptions<unknown>List all snapshots of a Devbox while optionally filtering by Devbox ID, source Blueprint ID, and metadata.
Optionaloptions: RequestOptions<unknown>Read file contents from a file on a Devbox as a UTF-8. Note 'downloadFile' should be used for large files (greater than 100MB). Returns the file contents as a UTF-8 string.
Optionaloptions: RequestOptions<unknown>Remove a previously opened tunnel on the Devbox.
Optionaloptions: RequestOptions<unknown>Resume a suspended Devbox with the disk state captured as suspend time. Note that any previously running processes or daemons will need to be restarted using the Devbox shell tools.
Optionaloptions: RequestOptions<unknown>Shutdown a running Devbox. This will permanently stop the Devbox. If you want to save the state of the Devbox, you should take a snapshot before shutting down or should suspend the Devbox instead of shutting down.
Optionaloptions: RequestOptions<unknown>Create a disk snapshot of a devbox with the specified name and metadata to enable launching future Devboxes with the same disk state.
Optionalbody: DevboxSnapshotDiskParamsOptionaloptions: RequestOptions<unknown>Create a disk snapshot of a devbox with the specified name and metadata to enable launching future Devboxes with the same disk state.
Optionaloptions: RequestOptions<unknown>Start an asynchronous disk snapshot of a devbox with the specified name and metadata. The snapshot operation will continue in the background and can be monitored using the query endpoint.
Optionalbody: DevboxSnapshotDiskAsyncParamsOptionaloptions: RequestOptions<unknown>Start an asynchronous disk snapshot of a devbox with the specified name and metadata. The snapshot operation will continue in the background and can be monitored using the query endpoint.
Optionaloptions: RequestOptions<unknown>Suspend a running Devbox and create a disk snapshot to enable resuming the Devbox later with the same disk. Note this will not snapshot memory state such as running processes.
Optionaloptions: RequestOptions<unknown>Upload file contents of any type (binary, text, etc) to a Devbox. Note this API is suitable for large files (larger than 100MB) and efficiently uploads files via multipart form data.
Optionaloptions: RequestOptions<unknown>Polls the asynchronous execution's status until it reaches one of the desired statuses or times out. Max is 25 seconds.
Optionaloptions: RequestOptions<unknown>Write UTF-8 string contents to a file at path on the Devbox. Note for large files (larger than 100MB), the upload_file endpoint must be used.
Optionaloptions: RequestOptions<unknown>
Create a Devbox and begin the boot process. The Devbox will initially launch in the 'provisioning' state while Runloop allocates the necessary infrastructure. It will transition to the 'initializing' state while the booted Devbox runs any Runloop or user defined set up scripts. Finally, the Devbox will transition to the 'running' state when it is ready for use.