---
title: "For a given interval return a list of subintervals"
method: GET
path: "/summary.performance/{checkid}"
tags: ["Summary.performance"]
---

# For a given interval return a list of subintervals

`GET /summary.performance/{checkid}`

For a given interval in time, return a list of sub intervals with the given resolution. Useful for generating graphs. A sub interval may be a week, a day or an hour depending on the choosen resolution.

## Path parameters

- `checkid` integer, required

## Query parameters

- `from` integer
- `to` integer
- `resolution` 'hour' | 'day' | 'week'
- `includeuptime` boolean
- `probes` string
- `order` 'asc' | 'desc'

## Response `200`

Successful HTTP Response

- SummaryPerformanceRespAttrs
  - `summary` union
    - Weeks
      - `weeks` object[]
        - `starttime` number — Interval start. Format UNIX timestamp
        - `avgresponse` number — Average response time for this interval in milliseconds
        - `uptime` number — Total uptime for this interval in seconds
        - `downtime` number — Total downtime for this interval in seconds
        - `unmonitored` number — Total unmonitored time for this interval in seconds
    - Days
      - `days` object[]
        - `starttime` number — Interval start. Format UNIX timestamp
        - `avgresponse` number — Average response time for this interval in milliseconds
        - `uptime` number — Total uptime for this interval in seconds
        - `downtime` number — Total downtime for this interval in seconds
        - `unmonitored` number — Total unmonitored time for this interval in seconds
    - Hours
      - `hours` object[]
        - `starttime` number — Interval start. Format UNIX timestamp
        - `avgresponse` number — Average response time for this interval in milliseconds
        - `uptime` number — Total uptime for this interval in seconds
        - `downtime` number — Total downtime for this interval in seconds
        - `unmonitored` number — Total unmonitored time for this interval in seconds

---

[API](https://skmtc.net/pingdom/apis/pingdom-public-api.md) · [All operations](https://skmtc.net/pingdom/apis/pingdom-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pingdom/pingdom-public-api/revisions/d05c91a3c64b/schema)
