---
title: "List all labels in a workspace"
method: GET
path: "/api/workspaces/{workspaceId}/labels"
tags: ["Labels"]
---

# List all labels in a workspace

`GET /api/workspaces/{workspaceId}/labels`

## Request

- Base URL: `https://hiveship.app/api`
- URL: `https://hiveship.app/api/api/workspaces/{workspaceId}/labels`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `hiveship_access`

## Path parameters

- `workspaceId` string, required

## Response `200`

List of labels

- object
  - `success` boolean, required
  - `data` object[], required
    - `id` string, cuid, required
    - `name` string, required
    - `color` string, required
    - `description` string, nullable, required
    - `issueCount` integer, required

---

[API](https://skmtc.dev/hiveship/apis/hiveship-api.md) · [All operations](https://skmtc.dev/hiveship/apis/hiveship-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hiveship/apis/hiveship-api/revisions/73d3e26544e4?raw)
