Daytona · Arazzo Workflow

Daytona Capture a Sandbox as a Snapshot

Version 1.0.0

Snapshot a live sandbox into a reusable image and wait for the sandbox to return to running.

1 workflow 1 source API 1 provider
View Spec View on GitHub Artificial IntelligenceAgentsCloudCode ExecutionComputer UseDeveloper ToolsInfrastructureOpen-SourceSandboxSecure ExecutionArazzoWorkflows

Provider

daytona-io

Workflows

capture-sandbox-snapshot
Create a named snapshot from a sandbox and wait for the sandbox to settle.
Captures a snapshot from a live sandbox, then polls the sandbox until it returns to the started state.
2 steps inputs: apiToken, name, sandboxIdOrName outputs: finalState, sandboxId
1
captureSnapshot
Trigger creation of a named snapshot from the live sandbox.
2
pollSettled
Poll the sandbox until it returns to started, looping while it is still snapshotting and ending if it errors.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Daytona Capture a Sandbox as a Snapshot
  summary: Snapshot a live sandbox into a reusable image and wait for the sandbox to return to running.
  description: >-
    Turns a configured, live sandbox into a named, reusable snapshot. Daytona
    captures the snapshot asynchronously, moving the sandbox through the
    snapshotting state and back to started when done. This workflow triggers the
    capture, then polls the sandbox until it returns to the started state,
    looping while it is still snapshotting and ending if it errors. 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: sandboxApi
  url: ../openapi/daytona-io-sandbox-api-openapi.yml
  type: openapi
workflows:
- workflowId: capture-sandbox-snapshot
  summary: Create a named snapshot from a sandbox and wait for the sandbox to settle.
  description: >-
    Captures a snapshot from a live sandbox, then polls the sandbox until it
    returns to the started state.
  inputs:
    type: object
    required:
    - apiToken
    - sandboxIdOrName
    - name
    properties:
      apiToken:
        type: string
        description: Daytona API key used as a bearer token.
      sandboxIdOrName:
        type: string
        description: The ID or name of the sandbox to capture.
      name:
        type: string
        description: Name for the new snapshot created from the sandbox.
  steps:
  - stepId: captureSnapshot
    description: Trigger creation of a named snapshot from the live sandbox.
    operationId: createSandboxSnapshot
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.apiToken"
    - name: sandboxIdOrName
      in: path
      value: $inputs.sandboxIdOrName
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.name
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      sandboxId: $response.body#/id
      state: $response.body#/state
  - stepId: pollSettled
    description: >-
      Poll the sandbox until it returns to started, looping while it is still
      snapshotting and ending if it errors.
    operationId: getSandbox
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.apiToken"
    - name: sandboxIdOrName
      in: path
      value: $inputs.sandboxIdOrName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      state: $response.body#/state
    onSuccess:
    - name: settled
      type: end
      criteria:
      - context: $response.body
        condition: $.state == "started"
        type: jsonpath
    - name: failed
      type: end
      criteria:
      - context: $response.body
        condition: $.state == "error"
        type: jsonpath
    - name: stillSnapshotting
      type: goto
      stepId: pollSettled
      criteria:
      - context: $response.body
        condition: $.state != "started" && $.state != "error"
        type: jsonpath
  outputs:
    sandboxId: $steps.captureSnapshot.outputs.sandboxId
    finalState: $steps.pollSettled.outputs.state

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/daytona-io-capture-sandbox-snapshot-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.