---
title: "The monorepo's labels, by name, each with its open issues"
description: "A new monorepo starts with bug (orange), enhancement (blue), documentation (teal) and question (purple). At most 500."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.gitpando.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Pando API › issues

`GET /v1/monorepos/{owner}/{monorepo}/labels`

A new monorepo starts with bug (orange), enhancement (blue), documentation (teal) and question (purple). At most 500.

## Authentication

Requires one of the following:

- `credential`, http, header `Authorization`
- `session`, apiKey, in cookie

## Path parameters

- `listLabels.path.owner` (string, required) — The monorepo's owner, a namespace (a person's login or an organization). Matched without case.
  - pattern `^[a-z0-9](?:[a-z0-9]|-(?=[a-z0-9])){0,38}$`
- `listLabels.path.monorepo` (string, required) — The monorepo's name within its owner (or an old name). Matched without case.
  - pattern `^[a-z0-9](?:[a-z0-9._]|-(?!-)){0,38}$`

## Code samples

### cURL

```curl
curl --request GET \
  --url https://app.gitpando.com/v1/monorepos/string/string/labels \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://app.gitpando.com/v1/monorepos/string/string/labels';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://app.gitpando.com/v1/monorepos/string/string/labels"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "labels": [
    {
      "name": "string",
      "color": "gray",
      "description": "string",
      "open_issues": 0
    }
  ]
}
```

- `listLabels.response.200.labels` (array<unknown>, required)
  - `listLabels.response.200.labels.name` (string, required) — 1 to 50 characters, unique ignoring case.
  - `listLabels.response.200.labels.color` (string, required) — Each theme sets the eight from its own tokens (no red, so a label never reads as a failure).
    - one of `"gray"`, `"orange"`, `"yellow"`, `"green"`, `"teal"`, `"blue"`, `"purple"`, `"pink"`
  - `listLabels.response.200.labels.description` (string | null, required)
  - `listLabels.response.200.labels.open_issues` (integer, required)


Source: https://docs.gitpando.com/api/issues/listLabels/index.md
