Get the current build number for a branch
One step with Harness. We can help you get access.
Look something up
Get the current build number for a branch
with Harness
Works with AI assistants
Use Harness: its Harness Branch Sequences API lets you get the current build number for a branch in a single step (GET /pipeline/api/pipelines/{pipelineIdentifier}/branch-sequences/current). 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 sequence ID is a specific branch of my pipeline on right now?
- How do I read the build counter for one repo and branch?
Say it to your AI assistant
- Get the current sequence for branch {branch} of repo {repoUrl} on pipeline {pipelineIdentifier}.
- Report the build number branch {branch} is currently at on pipeline {pipelineIdentifier}.
For your developer
GET /pipeline/api/pipelines/{pipelineIdentifier}/branch-sequences/current in Harness Branch Sequences API. Full spec on APIs.io.