branch

get

Read one branch summary by name.

strata branch get

wire branch_get

Reads the summary for one branch: name, deterministic branch id, generation, status, parent lineage, and logical creation version. A branch that does not exist is a `not_found.engine.branch` error, not an empty result.

Status commands return a scalar or compact status payload and do not mutate database state.

To see the complete help for this command, run:

strata branch get --help

Example

Read one branch by name.

strata branch create featurestrata branch get feature

Parameters

NameTypeRequiredDescription
branchstringyesBranch name.

Returns

StatusResponse<BranchItem>

  • dataBranchItem
  • typestring

Errors

Recover by code. Retry policy and commit outcome come from the shipped error registry.

← All 10 Branches commands

agents: this page as markdown → /docs/reference/branch/get.md