capabilities.work

List references a commit points to

One step with GitLab. We can help you get access.

Look something up

List references a commit points to

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Commits API lets you list references a commit points to in a single step (GET /api/v4/projects/{id}/repository/commits/{sha}/refs). 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 and tags point to a given commit?
  • Can I list only the tags that reference a commit?
Say it to your AI assistant
  • List references that point to commit {sha} in project {id}.
  • Show {type} references to {sha} in {id}.
For your developer

GET /api/v4/projects/{id}/repository/commits/{sha}/refs in GitLab REST Commits API. Full spec on APIs.io.