List a project's protected branches
One step with GitLab. We can help you get access.
Look something up
List a project's protected branches
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Protected branches API lets you list a project's protected branches in a single step (GET /api/v4/projects/{id}/protected_branches). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Which branches are protected in my project?
- Can I search a project's protected branches by name?
Say it to your AI assistant
- List protected branches in project {id}.
- Find protected branches in project {id} matching {search}.
For your developer
GET /api/v4/projects/{id}/protected_branches in GitLab REST Protected branches API. Full spec on APIs.io.