Skip to main content
GET
/
api
/
v1
/
data
/
quality
/
history
Data Quality History
curl --request GET \
  --url https://api.example.com/api/v1/data/quality/history
Returns the historical data quality score, enabling you to track reliability over time and identify patterns in data freshness issues.

Parameters

ParameterTypeDefaultDescription
hoursnumber24Lookback window in hours (max 720 = 30 days)

Example Request

curl -X GET "https://krovn.io/api/v1/data/quality/history?hours=24" \
  -H "X-API-Key: your_api_key"

Example Response

{
  "data": [
    {
      "timestamp": "2026-03-21T00:00:00.000Z",
      "score": 98,
      "grade": "A",
      "status": "HEALTHY",
      "summary": "All systems operational"
    },
    {
      "timestamp": "2026-03-21T06:00:00.000Z",
      "score": 95,
      "grade": "A",
      "status": "HEALTHY",
      "summary": "All systems operational"
    },
    {
      "timestamp": "2026-03-21T12:00:00.000Z",
      "score": 96,
      "grade": "A",
      "status": "HEALTHY",
      "summary": "All systems operational"
    }
  ],
  "count": 3,
  "window": "24h"
}
Quality checks run every 5 minutes. History is retained for 30 days. Use this endpoint to calculate uptime SLAs or detect recurring degradation patterns.