---
title: "Get Version"
method: GET
path: "/versions/{version_id}"
tags: ["Branches", "Versions"]
---

# Get Version

`GET /versions/{version_id}`

Get version details by ID.

## Path parameters

- `version_id` string, required

## Response `200`

Successful Response

- VersionResponse — Full version details.
  - `acp_type` 'sync' | 'async', required — Type of ACP server.
  - `author_email` string, required — Commit author email
  - `author_name` string, required — Commit author name
  - `branch_id` string, required — Parent branch ID
  - `created_at` string, date-time, nullable — Creation timestamp
  - `deployed_at` string, date-time, required — When this version was deployed
  - `failure_diagnostics` object, nullable — User-facing failure diagnostics with 'title', 'description', and 'action' fields
  - `failure_reason` string, nullable — Classified failure reason when status is FAILED (e.g., 'image_pull_failed', 'crash_loop', 'scheduling_failed')
  - `git_branch` string, required — Git branch name
  - `git_hash` string, required — Git commit hash
  - `git_message` string — Git commit message
  - `id` string, required — Version ID
  - `image_expires_at` string, date-time, nullable — When image expires (for rollback window)
  - `image_url` string, required — Container image URL
  - `is_dirty` boolean — Whether the commit had uncommitted changes
  - `last_rollback_at` string, date-time, nullable — Timestamp when this version was last rolled back TO
  - `replicas` integer — Current pod count for this version
  - `retired_at` string, date-time, nullable — When version was retired
  - `rollback_count` integer — Number of rollbacks to this version
  - `rolled_back_at` string, date-time, nullable — Timestamp when this version was rolled back FROM
  - `sdk_type` 'claude_agent_sdk' | 'codex_agent_sdk', required — SDK type for agent runtime.
  - `source_filesystem_id` string, nullable — Filesystem snapshot that can reopen this version in Agent Builder
  - `status` 'DEPLOYING' | 'ACTIVE' | 'FAILED' | 'UNHEALTHY' | 'DRAINING' | 'RETIRED' | 'ROLLED_BACK', required — Status of a version in its lifecycle.
  - `updated_at` string, date-time, nullable — Last update timestamp

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/terminaluse/apis/sb0-api.md) · [All operations](https://skmtc.net/terminaluse/apis/sb0-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/terminaluse/sb0-api/revisions/f24a474dc415/schema)
