---
title: "GET /lifetimepoolstats"
method: GET
path: "/lifetimepoolstats"
tags: ["Pools"]
---

# GET /lifetimepoolstats

`GET /lifetimepoolstats`

Gets lifetime summary statistics for all of the pools in the specified account. Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics.

## Query parameters

- `timeout` integer
- `api-version` string, required

## Headers

- `client-request-id` string
- `return-client-request-id` boolean
- `ocp-date` string, date-time-rfc1123

## Response `200`

OK

- PoolStatistics — Contains utilization and resource usage statistics for the lifetime of a pool.
  - `url` string, required — The URL for the statistics.
  - `startTime` string, date-time, required — The start time of the time range covered by the statistics.
  - `lastUpdateTime` string, date-time, required — The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime.
  - `usageStats` UsageStatistics — Statistics related to pool usage information.
    - `startTime` string, date-time, required — The start time of the time range covered by the statistics.
    - `lastUpdateTime` string, date-time, required — The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime.
    - `dedicatedCoreTime` string, duration, required — The aggregated wall-clock time of the dedicated compute node cores being part of the pool.
  - `resourceStats` ResourceStatistics — Statistics related to resource consumption by compute nodes in a pool.
    - `startTime` string, date-time, required — The start time of the time range covered by the statistics.
    - `lastUpdateTime` string, date-time, required — The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime.
    - `avgCPUPercentage` number, double, required — The average CPU usage across all nodes in the pool (percentage per node).
    - `avgMemoryGiB` number, double, required — The average memory usage in GiB across all nodes in the pool.
    - `peakMemoryGiB` number, double, required — The peak memory usage in GiB across all nodes in the pool.
    - `avgDiskGiB` number, double, required — The average used disk space in GiB across all nodes in the pool.
    - `peakDiskGiB` number, double, required — The peak used disk space in GiB across all nodes in the pool.
    - `diskReadIOps` integer, required — The total number of disk read operations across all nodes in the pool.
    - `diskWriteIOps` integer, required — The total number of disk write operations across all nodes in the pool.
    - `diskReadGiB` number, double, required — The total amount of data in GiB of disk reads across all nodes in the pool.
    - `diskWriteGiB` number, double, required — The total amount of data in GiB of disk writes across all nodes in the pool.
    - `networkReadGiB` number, double, required — The total amount of data in GiB of network reads across all nodes in the pool.
    - `networkWriteGiB` number, double, required — The total amount of data in GiB of network writes across all nodes in the pool.

## Other responses

- `default` — The error from the Batch service.

---

[API](https://skmtc.dev/azure/apis/batch-batch.md) · [All operations](https://skmtc.dev/azure/apis/batch-batch/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/batch-batch/revisions/bee2d837bf8f/schema)
