Blueprint

The Blueprint class provides synchronous methods for managing devbox blueprints.

Blueprint resource class for synchronous operations.

class runloop_api_client.sdk.blueprint.Blueprint(client, blueprint_id)[source]

Synchronous wrapper around a blueprint resource.

property id: str

Return the blueprint ID.

Returns:

Unique blueprint ID

Return type:

str

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

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

delete(**options)[source]

Delete the blueprint.

Parameters:

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

Returns:

API response acknowledging deletion

Return type:

object

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:

Devbox