git

Rename branch

Triggers renaming of any branch to a semantic name using Claude or a custom name

post/v1/git/worktrees/{id}/graduate

Path parameters

idstring required

Worktree ID

Request body

branch_namestring

Optional custom branch name to graduate to

Example request

{
  "branch_name": "feature/add-auth"
}

Response

OK

object required

Changes

Changed in 2 of the 50 revisions of this API.11