Skip to main content
Monitoring & Collection/Grafana Integration
GETGrafanaSince 1.0SynchronousAuth Required

GetGrafanaDatasource

Retrieve a single Grafana datasource by its identifier

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Path Parameters

Request Inputs

Path Parameters

  • idStringRequired

    Unique identifier of the datasource to retrieve

Responses

200 OK

On success, this API returns the following response structure.

  • idString

    Unique identifier of the Grafana datasource registration

    Example: ds-001-abc

  • nameString

    Display name of the datasource

    Example: Production Prometheus

  • grafanaUrlString

    URL of the Grafana instance managing this datasource

    Example: http://grafana.example.com

  • orgIdInteger

    Grafana organization ID this datasource belongs to

    Example: 1

  • apiKeyString

    API key for authenticating with the Grafana instance

    Example: glsa_xxxxxxxxxxxx

  • tenantIdString

    UUID of the tenant this datasource belongs to

    Example: tenant-001-xyz

  • createdAtString

    Created at

    Example: 2026-01-15T08:00:00Z

Endpoint

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

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

Operation ID

GetGrafanaDatasource

Permalink

Request Example

curl -X GET '{host}/api/v1/monitoring/grafana/datasources/{id}' -H 'Authorization: Bearer {token}'

Response Example

200
{
  "id": "ds-001-abc",
  "name": "Production Prometheus",
  "grafanaUrl": "http://grafana.example.com",
  "orgId": 1,
  "apiKey": "glsa_xxxxxxxxxxxx",
  "tenantId": "tenant-001-xyz",
  "createdAt": "example"
}

Change History

This API has no change history records yet.

View all change history