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.
- get_info(**options)[source]¶
Retrieve the latest blueprint details.
- Parameters:
options (
Unpack[BaseRequestOptions]) – Optional request configuration- Returns:
API response describing the blueprint
- Return type:
- 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:
- delete(**options)[source]¶
Delete the blueprint.
- Parameters:
options (
Unpack[LongRequestOptions]) – Optional long-running request configuration- Returns:
API response acknowledging deletion
- Return type:
- create_devbox(**params)[source]¶
Create a devbox derived from the blueprint.
- Parameters:
params (
Unpack[SDKDevboxCreateFromImageParams]) – SeeSDKDevboxCreateFromImageParamsfor available parameters- Returns:
Wrapper bound to the running devbox
- Return type: