Runloop · Schema

Runloop Snapshot

JSON Schema for the Runloop snapshot resource, derived from the Runloop OpenAPI schema DevboxDiskSnapshotView.

AIAI AgentsCoding AgentsSandboxesDevboxesCode ExecutionEvaluationBenchmarksSWE-BenchMCPSnapshotsmicroVMEnterpriseSOC 2

Properties

Name Type Description
id string The unique identifier of the snapshot.
name string (Optional) The custom name of the snapshot.
create_time_ms integer Creation time of the Snapshot (Unix timestamp milliseconds).
metadata object User defined metadata associated with the snapshot.
source_devbox_id string The source Devbox ID this snapshot was created from.
source_blueprint_id string (Optional) The source Blueprint ID this snapshot was created from.
commit_message string (Optional) The commit message of the snapshot (max 1000 characters).
size_bytes integer (Optional) The size of the snapshot in bytes, relative to the base blueprint.
View JSON Schema on GitHub

JSON Schema

runloop-snapshot-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/runloop-ai/main/json-schema/runloop-snapshot-schema.json",
  "title": "Runloop Snapshot",
  "description": "JSON Schema for the Runloop snapshot resource, derived from the Runloop OpenAPI schema DevboxDiskSnapshotView.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the snapshot."
    },
    "name": {
      "type": "string",
      "nullable": true,
      "description": "(Optional) The custom name of the snapshot."
    },
    "create_time_ms": {
      "type": "integer",
      "format": "int64",
      "description": "Creation time of the Snapshot (Unix timestamp milliseconds)."
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "User defined metadata associated with the snapshot."
    },
    "source_devbox_id": {
      "type": "string",
      "description": "The source Devbox ID this snapshot was created from."
    },
    "source_blueprint_id": {
      "type": "string",
      "nullable": true,
      "description": "(Optional) The source Blueprint ID this snapshot was created from."
    },
    "commit_message": {
      "type": "string",
      "nullable": true,
      "description": "(Optional) The commit message of the snapshot (max 1000 characters)."
    },
    "size_bytes": {
      "type": "integer",
      "format": "int64",
      "nullable": true,
      "description": "(Optional) The size of the snapshot in bytes, relative to the base blueprint."
    }
  },
  "required": [
    "id",
    "create_time_ms",
    "metadata",
    "source_devbox_id"
  ],
  "$defs": {}
}