API Reference/Git
Get repository default branch
Get the default branch name for a repository.
Path Parameters
repo_id
RequiredstringThe repository ID
Format:
"uuid"
Response Body
200
Success
defaultBranch
RequiredstringSuccess
Get the default branch name for a repository.
repo_id
RequiredstringThe repository ID
"uuid"
Success
defaultBranch
RequiredstringSuccess
Documentation assistant
Experimental: AI responses may not always be accurate—please verify important details with the official documentation.
Ask me about Freestyle while you browse the docs.