Runloop · Arazzo Workflow

Runloop Build Blueprint and Launch Devbox

Version 1.0.0

Build a custom blueprint image, poll until the build completes, then launch a devbox from it and wait for running.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Artificial IntelligenceAI AgentsCoding AgentsSandboxesDevboxesCode ExecutionEvaluationBenchmarksSWE-BenchMCPSnapshotsMicroVMEnterpriseSOC 2ArazzoWorkflows

Provider

runloop-ai

Workflows

build-blueprint-and-launch-devbox
Build a blueprint and boot a devbox from it.
Creates and builds a blueprint, waits for the build to complete, then launches a devbox seeded from that blueprint and waits for it to be running.
4 steps inputs: apiToken, blueprintName, devboxName, dockerfile, systemSetupCommands outputs: blueprintId, devboxId, devboxStatus
1
createBlueprint
Start a blueprint build; it begins in the provisioning step.
2
pollBuild
Poll the blueprint until the build status reaches build_complete, looping back while it is queued, provisioning, or building, and ending the flow if the build fails.
3
launchDevbox
Create a devbox seeded from the freshly built blueprint.
4
waitUntilRunning
Wait for the blueprint-based devbox to reach the running state.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Runloop Build Blueprint and Launch Devbox
  summary: Build a custom blueprint image, poll until the build completes, then launch a devbox from it and wait for running.
  description: >-
    Blueprints are cached, customized starting points for devboxes. This workflow
    starts a blueprint build, polls the blueprint until its build status reaches
    build_complete (branching back while it is queued, provisioning, or building,
    and failing out if it reports failed), then creates a devbox from the finished
    blueprint and waits for that devbox to reach the running state. Every step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: blueprintApi
  url: ../openapi/runloop-ai-blueprint-api-openapi.yml
  type: openapi
- name: devboxApi
  url: ../openapi/runloop-ai-devbox-api-openapi.yml
  type: openapi
workflows:
- workflowId: build-blueprint-and-launch-devbox
  summary: Build a blueprint and boot a devbox from it.
  description: >-
    Creates and builds a blueprint, waits for the build to complete, then
    launches a devbox seeded from that blueprint and waits for it to be running.
  inputs:
    type: object
    required:
    - apiToken
    - blueprintName
    properties:
      apiToken:
        type: string
        description: Runloop API bearer token.
      blueprintName:
        type: string
        description: Name to give the blueprint.
      dockerfile:
        type: string
        description: Dockerfile contents used to build the blueprint.
      systemSetupCommands:
        type: array
        description: List of shell commands to run to set up the system.
        items:
          type: string
      devboxName:
        type: string
        description: Optional name for the devbox launched from the blueprint.
  steps:
  - stepId: createBlueprint
    description: Start a blueprint build; it begins in the provisioning step.
    operationId: createBlueprint
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiToken
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.blueprintName
        dockerfile: $inputs.dockerfile
        system_setup_commands: $inputs.systemSetupCommands
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      blueprintId: $response.body#/id
      buildStatus: $response.body#/status
  - stepId: pollBuild
    description: >-
      Poll the blueprint until the build status reaches build_complete, looping
      back while it is queued, provisioning, or building, and ending the flow if
      the build fails.
    operationId: getBlueprint
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiToken
    - name: id
      in: path
      value: $steps.createBlueprint.outputs.blueprintId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      buildStatus: $response.body#/status
    onSuccess:
    - name: built
      type: goto
      stepId: launchDevbox
      criteria:
      - context: $response.body
        condition: $.status == "build_complete"
        type: jsonpath
    - name: building
      type: goto
      stepId: pollBuild
      criteria:
      - context: $response.body
        condition: $.status == "queued" || $.status == "provisioning" || $.status == "building"
        type: jsonpath
    - name: buildFailed
      type: end
      criteria:
      - context: $response.body
        condition: $.status == "failed"
        type: jsonpath
  - stepId: launchDevbox
    description: Create a devbox seeded from the freshly built blueprint.
    operationId: createDevbox
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiToken
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.devboxName
        blueprint_id: $steps.createBlueprint.outputs.blueprintId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      devboxId: $response.body#/id
  - stepId: waitUntilRunning
    description: Wait for the blueprint-based devbox to reach the running state.
    operationId: waitForDevboxStatus
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiToken
    - name: id
      in: path
      value: $steps.launchDevbox.outputs.devboxId
    requestBody:
      contentType: application/json
      payload:
        statuses:
        - running
        timeout_seconds: 30
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
  outputs:
    blueprintId: $steps.createBlueprint.outputs.blueprintId
    devboxId: $steps.launchDevbox.outputs.devboxId
    devboxStatus: $steps.waitUntilRunning.outputs.status

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/runloop-ai-build-blueprint-and-launch-devbox-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.