---
title: "List labels"
method: GET
path: "/labels"
tags: ["labels"]
---

# List labels

`GET /labels`

## Request

- Base URL: `https://api.axiom.co/v2`
- URL: `https://api.axiom.co/v2/labels`
- Auth: OAuth 2
  - Authorization code: `https://accounts.google.com/o/oauth2/v2/auth`
  - Token URL: `https://www.googleapis.com/oauth2/v4/token` scopes: `labels|read`
- TypeScript: <https://skmtc.dev/axiom/apis/axiom-public-api/docs/labels/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns labels as JSON, or the labels Agent Skill when the request negotiates text/markdown.

## Query parameters

- `name` string

## Response `200`

Labels

- LabelSummary[]
  - `color` LabelColor, required
    - `name` 'red' | 'coral' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'teal' | 'blue' | 'iris' | 'purple' | 'pink', required
    - `type` 'palette', required
  - `description` string, nullable
  - `id` string, required
  - `name` string, required
  - `resources_count` LabelResourcesCount, required
    - `dashboards` integer, required
    - `datasets` integer, required
    - `monitors` integer, required
    - `notifiers` integer, required
    - `total` integer, required

## Changes

- **2026-11-02** (v2) `e3baf3b85e8d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/axiom/apis/axiom-public-api/changes/labels/get.md)

---

[API](https://skmtc.dev/axiom/apis/axiom-public-api.md) - [All operations](https://skmtc.dev/axiom/apis/axiom-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/axiom/apis/axiom-public-api/revisions/7e39a295e3ba?raw)
