---
title: "GET /api/loki/labels"
method: GET
path: "/api/loki/labels"
tags: ["Loki"]
---

# GET /api/loki/labels

`GET /api/loki/labels`

List known label names within a time span.

        Accepts Loki query params: start, end, since, query.

## Response `200`

OK

- object

## Other responses

- `400` — Operation exception. Please check the response body for details.
- `401` — Unauthenticated access. Please login first.
- `403` — Unauthorized access. Please check your permissions.
- `500` — Unexpected error. Please check the response body for the stack trace.

## Changes

- **2026-09-30** `1b06275847c0` — 1 info
  - endpoint added
- **2026-07-08** `8e288db87087` — 1 breaking
  - api path removed without deprecation
- **2026-07-02** `e7a1b57437d5` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ceph/apis/ceph-rest-api/changes/api/loki/labels/get.md)

---

[API](https://skmtc.dev/ceph/apis/ceph-rest-api.md) · [All operations](https://skmtc.dev/ceph/apis/ceph-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ceph/apis/ceph-rest-api/revisions/1b06275847c0?raw)
