Skip to main content
GET
List Agent Branches

Overview

Returns the agent’s open branches (not yet merged or deleted), oldest first. A branch is a dev workspace cut from the dev head; behind tells you whether dev has moved past the branch’s base since it was cut. Create one with Create Agent Branch and land it with Merge Agent Branch.

Headers

string
required
Your API key for authentication.

Path Parameters

string
required
The agent’s unique identifier.

Response

array
Array of branch objects ordered by created_at ascending. Empty when the agent has no open branches.
null | array
null on success, or a list of error objects if the request failed.

Docs for agents: llms.txt