List all file paths in a repository
One step with Harness. We can help you get access.
Look something up
List all file paths in a repository
with Harness
Works with AI assistants
Use Harness: its Harness Repository API lets you list all file paths in a repository in a single step (GET /code/api/v1/repos/{repo_identifier}/paths). 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.
- Can I get a flat list of every file in a repository?
- Is there a way to include directories when listing all paths in a repo?
Say it to your AI assistant
- List every file path in repository {repo}.
- List all paths in repo {repo} at {ref} including directories.
For your developer
GET /code/api/v1/repos/{repo_identifier}/paths in Harness Repository API. Full spec on APIs.io.