---
title: "Get Monitor Stats"
method: GET
path: "/v1/monitors/{monitor_id}/stats"
tags: ["Monitors"]
---

# Get Monitor Stats

`GET /v1/monitors/{monitor_id}/stats`

## Request

- Base URL: `https://api.fettle.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fettle.sh/v1/monitors/{monitor_id}/stats`
- Auth: API key in header `Authorization`

Return uptime statistics for a monitor over the 24h, 7d, and 30d windows.

## Path parameters

- `monitor_id` string, uuid, required

## Headers

- `X-Organization-Id` string, uuid, nullable

## Response `200`

Successful Response

- MonitorStatsResponse: Per-window uptime statistics for a monitor. ``windows`` is keyed by the window label (``24h`` / ``7d`` / ``30d``); the keys are JSON strings rather than model attributes because Pydantic field names cannot begin with a digit.
  - `monitor_id` string, uuid, required
  - `windows` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fettle/apis/fettle-sh.md) · [All operations](https://skmtc.dev/fettle/apis/fettle-sh/llms.txt) · [OpenAPI document](https://skmtc.dev/fettle/apis/fettle-sh/revisions/f32c8a18606f?raw)
