---
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. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.

## 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.

---

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