---
title: "Get Branch Endpoint"
method: GET
path: "/branches/{branch_id}"
---

# Get Branch Endpoint

`GET /branches/{branch_id}`

## Request

- Base URL: `https://emfirge.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://emfirge.cloud/branches/{branch_id}`
- Auth: none declared

Read branch metadata and ordered changes without returning its base snapshot.

## Path parameters

- `branch_id` string, required

## Response `200`

Successful Response

- BranchDetail: Read-only branch metadata and ordered changes, excluding the base snapshot.
  - `branch_id` string, required
  - `name` string, required
  - `status` string, required
  - `base_analysis_id` string, nullable
  - `num_changes` integer, required
  - `changes` BranchChangeRecord[]
    - `op` string, required
    - `resource_type` string, required
    - `resource_id` string, required
    - `fields` object
  - `branch_revision` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/emfirge/apis/aws-risk-analysis-agent.md) · [All operations](https://skmtc.dev/emfirge/apis/aws-risk-analysis-agent/llms.txt) · [OpenAPI document](https://skmtc.dev/emfirge/apis/aws-risk-analysis-agent/revisions/149a9263d07a?raw)
