Runloop · Arazzo Workflow

Runloop Graceful Snapshot and Shutdown

Version 1.0.0

Synchronously snapshot a running devbox's disk to preserve its state, then permanently shut the devbox down.

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

Provider

runloop-ai

Workflows

graceful-snapshot-and-shutdown
Snapshot a devbox disk synchronously, then shut the devbox down.
Captures a synchronous disk snapshot to preserve devbox state and then permanently shuts the devbox down.
2 steps inputs: apiToken, commitMessage, devboxId, snapshotName outputs: finalStatus, snapshotId
1
snapshotDisk
Synchronously create a disk snapshot of the running devbox.
2
shutdownDevbox
Permanently shut the devbox down now that its state is captured.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Runloop Graceful Snapshot and Shutdown
  summary: Synchronously snapshot a running devbox's disk to preserve its state, then permanently shut the devbox down.
  description: >-
    Shutting down a devbox permanently stops it, so any state that must survive
    has to be captured first. This workflow takes a synchronous disk snapshot of
    a running devbox (blocking until the snapshot is created), then shuts the
    devbox down. 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: devboxApi
  url: ../openapi/runloop-ai-devbox-api-openapi.yml
  type: openapi
workflows:
- workflowId: graceful-snapshot-and-shutdown
  summary: Snapshot a devbox disk synchronously, then shut the devbox down.
  description: >-
    Captures a synchronous disk snapshot to preserve devbox state and then
    permanently shuts the devbox down.
  inputs:
    type: object
    required:
    - apiToken
    - devboxId
    properties:
      apiToken:
        type: string
        description: Runloop API bearer token.
      devboxId:
        type: string
        description: The id of the running devbox to snapshot and shut down.
      snapshotName:
        type: string
        description: Optional name for the disk snapshot.
      commitMessage:
        type: string
        description: Optional commit message describing the snapshot.
  steps:
  - stepId: snapshotDisk
    description: Synchronously create a disk snapshot of the running devbox.
    operationId: createDiskSnapshot
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiToken
    - name: id
      in: path
      value: $inputs.devboxId
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.snapshotName
        commit_message: $inputs.commitMessage
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      snapshotId: $response.body#/id
      sourceDevboxId: $response.body#/source_devbox_id
  - stepId: shutdownDevbox
    description: Permanently shut the devbox down now that its state is captured.
    operationId: shutdownDevbox
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiToken
    - name: id
      in: path
      value: $inputs.devboxId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
  outputs:
    snapshotId: $steps.snapshotDisk.outputs.snapshotId
    finalStatus: $steps.shutdownDevbox.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-graceful-snapshot-and-shutdown-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.