---
title: "Verify Prometheus connection"
method: POST
path: "/api/v1/prometheus/verify"
tags: ["Prometheus Configuration"]
---

# Verify Prometheus connection

`POST /api/v1/prometheus/verify`

## Request

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

Test the connection to Prometheus for a cluster or region to ensure configuration is correct. Requires either cluster_id or (region_code + user_id).

## Request body

- object

## Response `200`

Connection verification result

- object
  - `message` string
  - `success` boolean

## Other responses

- `400`: Bad request - Invalid parameters or missing required fields
- `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)
