Skip to main content
GET
/
branches
/
{branch_id}
/
versions
List Versions
curl --request GET \
  --url https://api.example.com/branches/{branch_id}/versions
{
  "total": 123,
  "versions": [
    {
      "acp_type": "sync",
      "author_email": "<string>",
      "author_name": "<string>",
      "branch_id": "<string>",
      "deployed_at": "2023-11-07T05:31:56Z",
      "git_branch": "<string>",
      "git_hash": "<string>",
      "id": "<string>",
      "image_url": "<string>",
      "sdk_type": "claude_agent_sdk",
      "status": "DEPLOYING",
      "created_at": "2023-11-07T05:31:56Z",
      "failure_diagnostics": {},
      "failure_reason": "<string>",
      "git_message": "",
      "image_expires_at": "2023-11-07T05:31:56Z",
      "is_dirty": false,
      "last_rollback_at": "2023-11-07T05:31:56Z",
      "replicas": 0,
      "retired_at": "2023-11-07T05:31:56Z",
      "rollback_count": 0,
      "rolled_back_at": "2023-11-07T05:31:56Z",
      "source_filesystem_id": "<string>",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "branch_id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.terminaluse.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

branch_id
string
required

Query Parameters

limit
integer
default:20

Maximum versions to return

Required range: 1 <= x <= 100

Response

Successful Response

Response for listing versions of a branch.

total
integer
required

Total count

versions
VersionResponse · object[]
required

List of versions

branch_id
string | null

Branch ID