---
title: "[Deprecated] Retrieve cdn cache-top report."
method: GET
path: "/v1/reporting/sites/{id}/cdn/cache-top"
tags: ["Reporting"]
---

# [Deprecated] Retrieve cdn cache-top report.

`GET /v1/reporting/sites/{id}/cdn/cache-top`

Use /sites/{id}/reporting/cdn/request_volume_by_source instead

## Path parameters

- `id` integer, required — ID of the Site you are interacting with

## Query parameters

- `duration` '30m' | '1h' | '6h' | '12h' | '24h' | '72h' | '7d' | '30d', required — Duration that the listed data is for (m = minutes, h = hours, d = days)

## Response `200`

OK

- CDNCacheTopResponse
  - `data` CDNCacheTopResponseViewer
    - `viewer` object
      - `__typename` 'viewer' — name of the property
      - `zones` CDNCacheTopResponseZoneInfo[]
        - `__typename` 'zone' — name of the property
        - `topContentTypes` CDNCacheTopResponseZoneHttpRequestsAdaptiveGroupContentType[]
          - `__typename` 'ZoneHttpRequestsAdaptiveGroups' — name of the property
          - `avg` ZoneHttpRequestsAdaptiveGroupsAvg
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsAvg' — name of the property
            - `sampleInterval` number
          - `count` integer — Overall number of requests with this cache status
          - `sum` ZoneHttpRequestsAdaptiveGroupsSumEdgeResponseBytes
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsSum' — name of the property
            - `edgeResponseBytes` integer — number of bytes transferred for this type of request
          - `dimensions` object
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsDimensions' — name of the property
            - `metric` string — Type of content
        - `topCountries` CDNCacheTopResponseZoneHttpRequestsAdaptiveGroupCountry[]
          - `__typename` 'ZoneHttpRequestsAdaptiveGroups' — name of the property
          - `avg` ZoneHttpRequestsAdaptiveGroupsAvg
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsAvg' — name of the property
            - `sampleInterval` number
          - `count` integer — Overall number of requests with this cache status
          - `sum` ZoneHttpRequestsAdaptiveGroupsSumEdgeResponseBytes
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsSum' — name of the property
            - `edgeResponseBytes` integer — number of bytes transferred for this type of request
          - `dimensions` object
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsDimensions' — name of the property
            - `metric` string — 2 character country code
        - `topDeviceTypes` CDNCacheTopResponseZoneHttpRequestsAdaptiveGroupDeviceType[]
          - `__typename` 'ZoneHttpRequestsAdaptiveGroups' — name of the property
          - `avg` ZoneHttpRequestsAdaptiveGroupsAvg
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsAvg' — name of the property
            - `sampleInterval` number
          - `count` integer — Overall number of requests with this cache status
          - `sum` ZoneHttpRequestsAdaptiveGroupsSumEdgeResponseBytes
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsSum' — name of the property
            - `edgeResponseBytes` integer — number of bytes transferred for this type of request
          - `dimensions` object
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsDimensions' — name of the property
            - `metric` 'desktop' | 'mobile' | 'tablet' — Device Type
        - `topHosts` CDNCacheTopResponseZoneHttpRequestsAdaptiveGroupHosts[]
          - `__typename` 'ZoneHttpRequestsAdaptiveGroups' — name of the property
          - `avg` ZoneHttpRequestsAdaptiveGroupsAvg
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsAvg' — name of the property
            - `sampleInterval` number
          - `count` integer — Overall number of requests with this cache status
          - `sum` ZoneHttpRequestsAdaptiveGroupsSumEdgeResponseBytes
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsSum' — name of the property
            - `edgeResponseBytes` integer — number of bytes transferred for this type of request
          - `dimensions` object
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsDimensions' — name of the property
            - `metric` string — Hostname where content was served
        - `topQueryStrings` CDNCacheTopResponseZoneHttpRequestsAdaptiveGroupQueryStrings[]
          - `__typename` 'ZoneHttpRequestsAdaptiveGroups' — name of the property
          - `avg` ZoneHttpRequestsAdaptiveGroupsAvg
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsAvg' — name of the property
            - `sampleInterval` number
          - `count` integer — Overall number of requests with this cache status
          - `sum` ZoneHttpRequestsAdaptiveGroupsSumEdgeResponseBytes
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsSum' — name of the property
            - `edgeResponseBytes` integer — number of bytes transferred for this type of request
          - `dimensions` object
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsDimensions' — name of the property
            - `metric` string — Query strings that are used most frequently
        - `topStatusCodes` CDNCacheTopResponseZoneHttpRequestsAdaptiveGroupStatusCodes[]
          - `__typename` 'ZoneHttpRequestsAdaptiveGroups' — name of the property
          - `avg` ZoneHttpRequestsAdaptiveGroupsAvg
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsAvg' — name of the property
            - `sampleInterval` number
          - `count` integer — Overall number of requests with this cache status
          - `sum` ZoneHttpRequestsAdaptiveGroupsSumEdgeResponseBytes
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsSum' — name of the property
            - `edgeResponseBytes` integer — number of bytes transferred for this type of request
          - `dimensions` object
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsDimensions' — name of the property
            - `metric` integer — HTTP status codes that are seen most frequently
        - `topUriPaths` CDNCacheTopResponseZoneHttpRequestsAdaptiveGroupUriPaths[]
          - `__typename` 'ZoneHttpRequestsAdaptiveGroups' — name of the property
          - `avg` ZoneHttpRequestsAdaptiveGroupsAvg
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsAvg' — name of the property
            - `sampleInterval` number
          - `count` integer — Overall number of requests with this cache status
          - `sum` ZoneHttpRequestsAdaptiveGroupsSumEdgeResponseBytes
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsSum' — name of the property
            - `edgeResponseBytes` integer — number of bytes transferred for this type of request
          - `dimensions` object
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsDimensions' — name of the property
            - `metric` string — URI paths that are requested most frequently
        - `total` ZoneHttpRequestsAdaptiveGroupsBase[]
          - `__typename` 'ZoneHttpRequestsAdaptiveGroups' — name of the property
          - `avg` ZoneHttpRequestsAdaptiveGroupsAvg
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsAvg' — name of the property
            - `sampleInterval` number
          - `count` integer — Overall number of requests with this cache status
          - `sum` ZoneHttpRequestsAdaptiveGroupsSumEdgeResponseBytes
            - `__typename` 'ZoneHttpRequestsAdaptiveGroupsSum' — name of the property
            - `edgeResponseBytes` integer — number of bytes transferred for this type of request

## Other responses

- `400` — Bad Request
- `401` — Authentication failed
- `403` — Not authorized to access endpoint
- `404` — Given site not found for user
- `405` — Invalid input
- `500` — Internal error

---

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