---
title: "Get Monitors Uptime Batch"
method: POST
path: "/v1/monitors/uptime/batch"
tags: ["Monitors"]
---

# Get Monitors Uptime Batch

`POST /v1/monitors/uptime/batch`

## 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/uptime/batch`
- Auth: API key in header `Authorization`

Return uptime windows for selected owned monitors.

## Headers

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

## Request body

- MonitorUptimeBatchRequest
  - `monitor_ids` string[], required

## Response `200`

Successful Response

- MonitorUptimeBatchResponse
  - `items` MonitorUptimeBatchItem[], required
    - `monitor_id` string, uuid, required
    - `windows` MonitorUptimeBatchWindows, required
      - `24h` number, nullable, required
      - `7d` number, nullable, required
      - `30d` number, nullable, 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)
