---
title: "Gets lifetime summary statistics for all of the pools in the specified account."
method: GET
path: "/lifetimepoolstats"
tags: ["Pools"]
---

# Gets lifetime summary statistics for all of the pools in the specified account.

`GET /lifetimepoolstats`

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, uuid
- `return-client-request-id` boolean
- `ocp-date` string, date-time-rfc1123

## Response `200`

A response containing the pool statistics for the lifetime of the Batch account.

- PoolStatistics
  - `url` string, required
  - `startTime` string, date-time, required
  - `lastUpdateTime` string, date-time, required
  - `usageStats` UsageStatistics
    - `startTime` string, date-time, required
    - `lastUpdateTime` string, date-time, required
    - `dedicatedCoreTime` string, duration, required
  - `resourceStats` ResourceStatistics
    - `startTime` string, date-time, required
    - `lastUpdateTime` string, date-time, required
    - `avgCPUPercentage` number, double, required
    - `avgMemoryGiB` number, double, required
    - `peakMemoryGiB` number, double, required
    - `avgDiskGiB` number, double, required
    - `peakDiskGiB` number, double, required
    - `diskReadIOps` integer, required
    - `diskWriteIOps` integer, required
    - `diskReadGiB` number, double, required
    - `diskWriteGiB` number, double, required
    - `networkReadGiB` number, double, required
    - `networkWriteGiB` number, double, required

## Other responses

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

## Changes

- **2026-07-13** `6029498afb63` — 1 info
  - api operation id `Pool_GetAllPoolsLifetimeStatistics` removed and replaced with `Pool_GetAllLifetimeStatistics`

[Change history](https://skmtc.dev/azure/apis/batch-batch/changes/lifetimepoolstats/get.md)

---

[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/c132dc281e07/schema)
