Get a pull request's file changes
One step with Harness. We can help you get access.
Look something up
Get a pull request's file changes
with Harness
Works with AI assistants
Use Harness: its Harness Pullreq API lets you get a pull request's file changes in a single step (GET /code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/diff). Harness 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.
- What files and lines did this pull request change?
- Can I see the diff of just one file path within a PR?
Say it to your AI assistant
- Show the diff for PR #{pullreq_number} in {repo_identifier}.
- Get the changes to file {path} in pull request {pullreq_number} of repo {repo_identifier}.
For your developer
GET /code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/diff in Harness Pullreq API. Full spec on APIs.io.