List the commits in a pull request
One step with Harness. We can help you get access.
Look something up
List the commits in a pull request
with Harness
Works with AI assistants
Use Harness: its Harness Pullreq API lets you list the commits in a pull request in a single step (GET /code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/commits). 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.
- Which commits are included in this pull request?
- How many commits has the author pushed to a PR?
Say it to your AI assistant
- List the commits on PR #{pullreq_number} in {repo_identifier}.
- Show the commit history of pull request {pullreq_number} in repo {repo_identifier}.
For your developer
GET /code/api/v1/repos/{repo_identifier}/pullreq/{pullreq_number}/commits in Harness Pullreq API. Full spec on APIs.io.