capabilities.work

Blame lines in a file

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

Look something up

Blame lines in a file

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Files API lets you blame lines in a file in a single step (GET /api/v4/projects/{id}/repository/files/{file_path}/blame). 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.

  • Who committed each line of a file in a branch?
  • Can I blame a range of lines in a file to specific commits?
Say it to your AI assistant
  • Blame lines {start} to {end} of {file_path} in project {id} at ref {ref}.
  • Show blame for {file_path} in {id} on {ref}.
For your developer

GET /api/v4/projects/{id}/repository/files/{file_path}/blame in GitLab REST Files API. Full spec on APIs.io.