Get last-commit details for file paths
One step with Harness. We can help you get access.
Look something up
Get last-commit details for file paths
with Harness
Works with AI assistants
Use Harness: its Harness Repository API lets you get last-commit details for file paths in a single step (POST /code/api/v1/repos/{repo_identifier}/path-details). 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 commit last touched each of these files?
- Can I get the latest commit info for several paths in one call?
Say it to your AI assistant
- Get the last commit for paths {paths} in repository {repo}.
- Show last-change details for these files in repo {repo} at {ref}.
For your developer
POST /code/api/v1/repos/{repo_identifier}/path-details in Harness Repository API. Full spec on APIs.io.