---
title: "List branches. \"main\" is synthesized from the entry head if no row exists yet."
method: GET
path: "/entries/{entryId}/branches"
tags: ["Branches"]
---

# List branches. "main" is synthesized from the entry head if no row exists yet.

`GET /entries/{entryId}/branches`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/entries/{entryId}/branches`
- Auth: HTTP bearer

## Path parameters

- `entryId` string, uuid, required

## Response `200`

OK

- object
  - `data` Branch[], required
    - `id` string, required
    - `name` string, required
    - `headCommitId` string, uuid, required
    - `isDefault` boolean, required
    - `createdBy` string, uuid, required
    - `createdAt` string, required
  - `meta` object, required
    - `requestId` string, required

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
