Skip to main content
GET
/
v1
/
metrics
cURL
curl --request GET \
  --url https://api.qyl.dev/v1/metrics
{
  "items": [
    {
      "name": "<string>",
      "type": "gauge",
      "label_keys": [
        "<string>"
      ],
      "services": [
        "<string>"
      ],
      "description": "<string>",
      "unit": "<string>"
    }
  ],
  "has_more": true,
  "next_cursor": "<string>",
  "prev_cursor": "<string>"
}

Query Parameters

serviceName
string

Service name filter

namePattern
string

Metric name pattern

limit
integer<int32>
default:100

Page size

Required range: 1 <= x <= 1000
cursor
string

Cursor

Response

The request has succeeded.

Cursor-based paginated response wrapper

items
object[]
required

List of items in this page

has_more
boolean
required

Whether there are more items available

next_cursor
string

Cursor for the next page (null if no more pages)

prev_cursor
string

Cursor for the previous page (null if first page)