List branches and tags of a registered repository
One step with Harness. We can help you get access.
Look something up
List branches and tags of a registered repository
with Harness
Works with AI assistants
Use Harness: its Harness Repositories API lets you list branches and tags of a registered repository in a single step (GET /gitops/api/v1/agents/{agentIdentifier}/repositories/{identifier}/refs). 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 branches and tags exist in a repo registered on my GitOps agent?
- Can I see a registered repository's refs by its identifier?
Say it to your AI assistant
- List branches and tags in repository {identifier} on agent {agentIdentifier}.
- Show the Git refs for registered repo {identifier} through agent {agentIdentifier}.
For your developer
GET /gitops/api/v1/agents/{agentIdentifier}/repositories/{identifier}/refs in Harness Repositories API. Full spec on APIs.io.