v1

latestOpenAPI 3.1.02026-08-04151221521.2 KB
Branches

Get Branch by Agent and Git Branch

Get a specific branch by agent name and git branch.

The git branch name will be normalized (lowercased, slashes converted to hyphens).
For example, "feature/new-tool" becomes "feature-new-tool".
get/agents/{namespace_slug}/{agent_name}/branch

Path parameters

namespace_slugstring required
agent_namestring required

Query parameters

branchstring required

Target branch (e.g., 'main', 'feature/login')

Target branch (e.g., 'main', 'feature/login')

Response

Successful Response

agent_idstring required

Parent agent ID

created_atstring date-time nullable

Creation timestamp

git_branchstring required

Original git branch name

git_branch_normalizedstring required

DNS-safe branch name

idstring required

Branch ID

replicasinteger required

Desired replica count

retired_atstring date-time nullable

When branch was retired

retired_reasonstring nullable

Reason for retirement

updated_atstring date-time nullable

Last update timestamp