Skip to main content
Monitoring & Collection/Grafana Integration

GetGrafanaDatasourceConfig

Retrieve the full Grafana datasource configuration including type, URL, and default flag

GET/api/v1/monitoring/grafana/datasources/{id}/config

Operation ID

GetGrafanaDatasourceConfig

Since

1.0.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

Path Parameters

  • id
    StringRequired

    Unique identifier of the datasource to get configuration for

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • name
    String

    Name of the datasource in Grafana

    Example: Prometheus

  • type
    String

    Datasource type (e.g. prometheus, loki, influxdb)

    Example: prometheus

  • url
    String

    URL of the backing data source

    Example: http://prometheus:9090

  • access
    String

    Access mode for this datasource (proxy or direct)

    Example: proxy

  • isDefault
    Boolean

    Whether this is the default datasource in the Grafana organization

    Example: true