Skip to main content
GET
/
api
/
svc
/
v1
/
metrics
/
cluster
/
{id}
/
charts
List metric charts for a cluster
curl --request GET \
  --url https://{controlPlaneURL}/api/svc/v1/metrics/cluster/{id}/charts \
  --header 'Authorization: Bearer <token>'
{
  "step": "30s",
  "graphs": [
    {
      "name": "<string>",
      "description": "<string>",
      "chart": "<string>",
      "params": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Unique identifier of the cluster.

Query Parameters

startTs
number
required

Start timestamp in milliseconds from epoch

Example:

"1735201111814"

endTs
number
required

End timestamp in milliseconds from epoch

Example:

"1735204711814"

Response

Returns the list of metric charts available for the cluster.

step
string
required

Prometheus duration string for the query step size applied to the returned charts.

Example:

"30s"

graphs
Graph · object[]
required

List of available charts.