Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Monitoring
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • API authentication
      • Overview
        • Overview
        • listLabelKeys
        • listLabelValues
        • listMetricNames
        • listMetrics
  • Release notes

In this article:

  • HTTP request
  • Path parameters
  • Query parameters
  • Response
  1. API reference
  2. REST
  3. MetricsMeta
  4. listLabelValues

listLabelValues method

Written by
Yandex Cloud
Updated at April 14, 2025
  • HTTP request
  • Path parameters
  • Query parameters
  • Response

Returns a list of values for the specified label key.

HTTP requestHTTP request

GET https://monitoring.api.cloud.yandex.net/monitoring/v2/metrics/labels/{labelKey}/values

Path parametersPath parameters

Parameter Description
labelKey This is a required field. Label key used for the search.

Query parametersQuery parameters

Parameter Description
folderId This is a required field. Metric folder ID. The maximum string length is 50 characters.
selectors Label selectors for metrics.
valueFilter Substring for label value filtering.
pageSize Maximum number of results per response page. The default value is 30. The maximum value is 10,000.
pageToken Page token. To get the next result page, set pageToken to the nextPageToken value returned by the previous request.

ResponseResponse

HTTP Code: 200 - OK

{
  "values": [
    "string"
  ],
  "metricsCount": "string",
  "absent": true,
  "nextPageToken": "string"
}
Field Description
values[] string

Labels for the specified key.

metricsCount string (int64)

Number of metrics found by the specified selectors.

absent boolean (boolean)

Indicates that the selection contains metrics without the specified label.

nextPageToken string

Token to get the next result page.

Was the article helpful?

Previous
listLabelKeys
Next
listMetricNames
Yandex project
© 2025 Yandex.Cloud LLC