Skip to main content
GET
/
api
/
v1
/
config
/
recording-rules
/
{slug}
cURL
curl --request GET \
  --url https://tenant.chronosphere.io/api/v1/config/recording-rules/{slug} \
  --header 'API-Token: <api-key>'
{
  "recording_rule": {
    "name": "<string>",
    "bucket_slug": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "execution_group": "<string>",
    "interval_secs": 123,
    "label_policy": {
      "add": {}
    },
    "metric_name": "<string>",
    "prometheus_expr": "<string>",
    "slug": "<string>",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Path Parameters

slug
string
required

Response

A successful response.

recording_rule
object