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

GetGrafanaDatasourceHealth

Get the health status and sample count for a Grafana datasource

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 check health for

Responses

200 OK

On success, this API returns the following response structure.

  • statusString

    Health status of the datasource (ok, degraded, error)

    Example: ok

  • lastDataAtString

    Last data at

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

  • sampleCountString

    Number of metric samples available from this datasource

    Example: 1500000

Endpoint

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

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

Operation ID

GetGrafanaDatasourceHealth

Permalink

Request Example

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

Response Example

200
{
  "status": "ok",
  "lastDataAt": "example",
  "sampleCount": 1500000
}

Change History

This API has no change history records yet.

View all change history