---
title: "Get Prometheus configuration"
method: GET
path: "/api/v1/prometheus/config"
tags: ["Prometheus Configuration"]
---

# Get Prometheus configuration

`GET /api/v1/prometheus/config`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/prometheus/config`
- Auth: API key in header `Authorization`

Retrieve Prometheus configuration for a cluster or region. Requires either cluster_id or (region_code + user_id) as query parameters.

## Query parameters

- `cluster_id` string
- `region_code` string
- `user_id` string

## Response `200`

Prometheus configuration

- ServicePrometheusConfigResponse
  - `auth_type` string
  - `cluster_id` string
  - `is_configured` boolean
  - `last_check` string
  - `region_code` string
  - `url` string

## Other responses

- `400`: Bad request - Missing required parameters
- `404`: Configuration not found
- `500`: Internal server error

---

[API](https://skmtc.dev/nife/apis/nife-io-swagger-api.md) - [All operations](https://skmtc.dev/nife/apis/nife-io-swagger-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nife/apis/nife-io-swagger-api/revisions/6e868dc62795?raw)
