Apply one suggestion to a merge request
One step with GitLab. We can help you get access.
Get something done
Apply one suggestion to a merge request
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Suggestions API lets you apply one suggestion to a merge request in a single step (PUT /api/v4/suggestions/{id}/apply). 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 accept a single suggested patch on a merge request?
- Can I write my own commit message when applying one suggestion?
Say it to your AI assistant
- Apply suggestion {id} to the merge request.
- Accept suggestion {id} with commit message {commit_message}.
For your developer
PUT /api/v4/suggestions/{id}/apply in GitLab REST Suggestions API. Full spec on APIs.io.