View your service URL monitoring history

Get a detailed history of your website's monitoring, including status, response times, and errors, to troubleshoot issues and track performance over time.

Path Parameters

id integer · min: 1 required Example

Unique id identifier

Query Parameters

hours string required

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/notifications/url-monitors/{id}/history
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/notifications/url-monitors/46/history?hours=string" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "monitor": {
      "id": 0,
      "name": "string",
      "url": "string"
    },
    "history": [
      {
        "checked_at": "string",
        "status": "string",
        "response_time": 0,
        "status_code": 0,
        "error_message": "string",
        "response_size": "string",
        "ssl_days_remaining": 0,
        "content_match": "string"
      }
    ],
    "stats": {
      "total_checks": 0,
      "successful_checks": 0,
      "failed_checks": 0,
      "degraded_checks": 0,
      "avg_response_time": 0,
      "min_response_time": 0,
      "max_response_time": 0,
      "median_response_time": 0,
      "p95_response_time": 0
    },
    "incidents": [
      {
        "started_at": "string",
        "ended_at": "string",
        "duration": "string",
        "incident_type": "string",
        "error_message": "string",
        "checks_failed": 0
      }
    ],
    "period": {
      "hours": 0,
      "from": "string",
      "to": "string"
    }
  }
}