capabilities.work

List a merge request's context commits

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

Look something up

List a merge request's context commits

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Merge requests API lets you list a merge request's context commits in a single step (GET /api/v4/projects/{id}/merge_requests/{merge_request_iid}/context_commits). 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 context commits are attached to a merge request?
  • Can I see the context commits a merge request was built on?
Say it to your AI assistant
  • List the context commits for merge request {merge_request_iid} in project {id}.
  • Show the context commits attached to merge request {merge_request_iid} of project {id}.
For your developer

GET /api/v4/projects/{id}/merge_requests/{merge_request_iid}/context_commits in GitLab REST Merge requests API. Full spec on APIs.io.