## List `BranchListPageResponse Projects.Branches.List(BranchListParamsparameters, CancellationTokencancellationToken = default)` **get** `/v0/projects/{project}/branches` Retrieve a project branch by name. ### Parameters - `BranchListParams parameters` - `required string project` Path param - `string cursor` Query param: Pagination cursor from a previous response - `Double limit` Query param: Maximum number of items to return, defaults to 10 (maximum: 100). ### Returns - `class BranchListPageResponse:` - `required IReadOnlyList Data` - `required string Branch` Branch name - `required ConfigCommit ConfigCommit` A Git commit that points to the latest set of config files on a given branch. - `required Repo Repo` - `required string Branch` - `required string Name` - `required string Owner` - `required string Sha` - `required string LatestBuildID` - `required Object Object` - `"project_branch"ProjectBranch` - `required string Org` - `required string Project` Project name - `required Boolean HasMore` - `string NextCursor` ### Example ```csharp BranchListParams parameters = new() { Project = "project" }; var page = await client.Projects.Branches.List(parameters); await foreach (var item in page.Paginate()) { Console.WriteLine(item); } ```