---
title: "Get Application Statistics Charts"
method: GET
path: "/apps/{appId}/statistics/charts"
tags: ["Applications"]
---

# Get Application Statistics Charts

`GET /apps/{appId}/statistics/charts`

## Request

- Base URL: `https://api.bunny.net/mc`
- URL: `https://api.bunny.net/mc/apps/{appId}/statistics/charts`
- Auth: API key in header `AccessKey`
- TypeScript: <https://skmtc.dev/bunny/apis/magic-containers-api/docs/apps/:appId/statistics/charts/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves historical charts for an application over a specified time period: CPU, RAM, traffic and ephemeral storage usage and limit per pod with the pod's region, instances in total and per region, active regions, usage and capacity per volume with the volume's region and pods, and the rolling updates of the period per region.

## Path parameters

- `appId` string, required

## Query parameters

- `fromDate` string, date-time, required
- `toDate` string, date-time
- `granularity` 'Daily' | 'Hourly' | 'Minute', required

## Response `200`

Application statistics charts were successfully retrieved.

- StatisticsCharts
  - `activeRegionsChart` object
  - `instancesChart` object
  - `instancesSplitChart` object
  - `cpuUsageSplitChart` object
  - `ramUsageSplitChart` object
  - `trafficSplitChart` object
  - `ephemeralStorageSplitUsageChart` object
  - `ephemeralStorageSplitLimitChart` object
  - `volumesSplitUsageChart` object
  - `volumesSplitCapacityChart` object
  - `releases` StatisticsRelease[]
    - `time` string, date-time
    - `region` string
    - `operationType` string
    - `rolledBack` boolean
    - `images` StatisticsReleaseImage[]
      - `container` string
      - `image` string
      - `tag` string
      - `digest` string

## Other responses

- `400`: Invalid input.
- `401`: User is unauthorized.
- `404`: Application is not found.
- `500`: Unexpected server error.

## Changes

- **2026-11-12** `7bb58a0591b0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bunny/apis/magic-containers-api/changes/apps/:appId/statistics/charts/get.md)

---

[API](https://skmtc.dev/bunny/apis/magic-containers-api.md) - [All operations](https://skmtc.dev/bunny/apis/magic-containers-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/magic-containers-api/revisions/7bb58a0591b0?raw)
