Get a protected branch or wildcard
One step with GitLab. We can help you get access.
Look something up
Get a protected branch or wildcard
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Protected branches API lets you get a protected branch or wildcard in a single step (GET /api/v4/projects/{id}/protected_branches/{name}). 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.
- What access levels does a protected branch have?
- Can I check whether a wildcard protected branch allows force pushes?
Say it to your AI assistant
- Show protected branch {name} in project {id}.
- Get the protection settings for {name} in project {id}.
For your developer
GET /api/v4/projects/{id}/protected_branches/{name} in GitLab REST Protected branches API. Full spec on APIs.io.