Blueprint

The AsyncBlueprint class provides asynchronous methods for managing devbox blueprints.

Blueprint resource class for asynchronous operations.

class runloop_api_client.sdk.async_blueprint.AsyncBlueprint(client, blueprint_id)[source]

Asynchronous wrapper around a blueprint resource.

property id: str

Return the blueprint ID.

Returns:

Unique blueprint ID

Return type:

str

async get_info(**options)[source]

Retrieve the latest blueprint details.

Parameters:

options (Unpack[BaseRequestOptions]) – Optional request configuration

Returns:

API response describing the blueprint

Return type:

BlueprintView

async logs(**options)[source]

Retrieve build logs for the blueprint.

Parameters:

options (Unpack[BaseRequestOptions]) – Optional request configuration

Returns:

Log entries for the most recent build

Return type:

BlueprintBuildLogsListView

async delete(**options)[source]

Delete the blueprint.

Parameters:

options (Unpack[LongRequestOptions]) – Optional long-running request configuration

Returns:

API response acknowledging deletion

Return type:

object

async create_devbox(**params)[source]

Create a devbox derived from the blueprint.

Parameters:

params (Unpack[SDKDevboxCreateFromImageParams]) – See SDKDevboxCreateFromImageParams for available parameters

Returns:

Wrapper bound to the running devbox

Return type:

AsyncDevbox