Skip to main content
GET
/
v1
/
apps
/
{appId}
/
git
/
branches
List branches in a repository
curl --request GET \
  --url https://api.agentmark.co/v1/apps/{appId}/git/branches \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Agentmark-App-Id: <api-key>'
{
  "data": [
    "<string>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.agentmark.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Agentmark-App-Id
string
header
required

Application ID for tenant scoping

Authorization
string
header
required

API key (sk_agentmark_*)

Path Parameters

appId
string<uuid>
required

Query Parameters

repository
string
required

Repository identifier in owner/repo form, from the full_name field of the repositories list.

Required string length: 1 - 255

Response

Branch names in the requested repository.

data
string[]
required
Minimum string length: 1