capabilities.work

List comments on a commit

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

Look something up

List comments on a commit

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Commits API lets you list comments on a commit in a single step (GET /api/v4/projects/{id}/repository/commits/{sha}/comments). 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.

  • How do I see all the comments left on a commit?
  • Can I page through the comments on one commit?
Say it to your AI assistant
  • List comments on commit {sha} in project {id}.
  • Show the next page of comments on {sha} in {id}.
For your developer

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