# Get a label

Source: https://docs.maylee.app/api-reference/labels/get-label

`GET https://api.maylee.app/api/v1/labels/{labelId}`

Scope: `read`.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `labelId` | path | string | yes |  |

## Example request

```bash
curl -X GET "https://api.maylee.app/api/v1/labels/<labelId>" \
  -H "Authorization: Bearer $MAYLEE_KEY"
```

## Responses

### 200

The label.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `label` | Label | yes |  |
| `label.color` | string | yes | Color name. The Maylee app renders `Pink`, `Blue`, `Red`, `Yellow`, `Green`, `Purple` and `Orange`; any other value is stored but shown without color. |
| `label.createdAt` | string (date-time) | yes |  |
| `label.id` | string | yes |  |
| `label.isAiLabel` | boolean | yes | True when the label is applied by the AI pipeline rather than a human. AI labels are managed through `/ai-label-rules`. |
| `label.name` | string | yes |  |

```json
{
  "label": {
    "color": "Green",
    "createdAt": "2026-06-02T09:20:00.000Z",
    "id": "cmtg1a2b3c4d5e6f7g8h9i0j",
    "isAiLabel": false,
    "name": "Quotes"
  }
}
```

### 401

Missing, malformed, revoked or expired API key.

### 403

Key lacks the required scope, or outbound sending is not enabled on it.

### 404

Not found, or belongs to another workspace.

### 429

Per-minute rate limit (`RATE_LIMIT_EXCEEDED`) or monthly quota (`QUOTA_EXCEEDED`) exhausted.

Errors use the format `{ "code", "error", "details" }`: see [Errors](/errors.md).
