capabilities.work

Download a repository as an archive

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

Look something up

Download a repository as an archive

with Harness
Works with AI assistants

Use Harness: its Harness Repository API lets you download a repository as an archive in a single step (GET /code/api/v1/repos/{repo_identifier}/archive/{git_ref}.{format}). 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 download a snapshot of a repo at a specific branch or tag as a zip or tarball?
  • Is it possible to archive only one subdirectory of a repository?
Say it to your AI assistant
  • Download repo {repo} at {ref} as a {format} archive.
  • Export only the {path} folder of repository {repo} at {ref} in {format} format.
For your developer

GET /code/api/v1/repos/{repo_identifier}/archive/{git_ref}.{format} in Harness Repository API. Full spec on APIs.io.