---
title: "Get the external impact-metrics source."
method: GET
path: "/api/admin/impact-metrics/external-source"
tags: ["Metrics"]
---

# Get the external impact-metrics source.

`GET /api/admin/impact-metrics/external-source`

**Enterprise feature**

Returns the current configuration of the external impact-metrics source (any Prometheus-compatible endpoint).

## Response `200`

externalImpactMetricsSourceSchema

- ExternalImpactMetricsSourceSchema — Configuration for connecting to an external impact-metrics source (any Prometheus-compatible endpoint). A valid URL must be supplied whenever `enabled` is true, including when re-enabling after a previous disable.
  - `enabled` boolean, required — Whether the external impact-metrics source is active. When `true`, `url` must be a valid non-empty URL.
  - `url` string — Base URL of the external impact-metrics source. Basic-Auth credentials may be embedded in the URL (e.g. `https://user:pass@metrics.example.com`); they are extracted into an `Authorization` header on outbound requests. Required (non-empty, valid URL) when `enabled` is true; an empty string is discarded when `enabled` is false.

## Other responses

- `401` — Authorization information is missing or invalid. Provide a valid API token as the `authorization` header, e.g. `authorization:*.*.my-admin-token`.
- `403` — The provided user credentials are valid, but the user does not have the necessary permissions to perform this operation

---

[API](https://skmtc.net/unleash/apis/unleash-api-3.md) · [All operations](https://skmtc.net/unleash/apis/unleash-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unleash/unleash-api-3/versions/b2c3116e633e/schema)
