---
title: "Aggregated uptime for an endpoint"
method: GET
path: "/api/v1/endpoints/{endpoint_id}/uptime"
tags: ["ingestion"]
---

# Aggregated uptime for an endpoint

`GET /api/v1/endpoints/{endpoint_id}/uptime`

## Request

- Base URL: `https://monit.rs`
- URL: `https://monit.rs/api/v1/endpoints/{endpoint_id}/uptime`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `endpoint_id` string, uuid, required

## Query parameters

- `window` '24h' | '7d' | '30d' | '90d'
- `granularity` '1h' | '1d'

## Response `200`

Uptime overall_pct + per-bucket series.

## Other responses

- `404`: Endpoint not found.

---

[API](https://skmtc.dev/monit/apis/monit-rs-public-api.md) · [All operations](https://skmtc.dev/monit/apis/monit-rs-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/monit/apis/monit-rs-public-api/revisions/7e1923981112?raw)
