---
title: "Get Node Pool Stats"
method: GET
path: "/v1/accounts/{account_id}/nodePools/{node_pool_id}:getStats"
tags: ["gateway.openapi_Gateway"]
---

# Get Node Pool Stats

`GET /v1/accounts/{account_id}/nodePools/{node_pool_id}:getStats`

## Path parameters

- `account_id` string, required
- `node_pool_id` string, required

## Query parameters

- `readMask` string

## Response `200`

A successful response.

- GatewayNodePoolStats
  - `nodeCount` integer — The number of nodes currently available in this pool.
  - `ranksPerNode` integer — The number of ranks available per node. This is determined by the machine type of the nodes in this node pool.
  - `environmentCount` integer — The number of environments connected to this node pool.
  - `environmentRanks` integer — The number of ranks in this node pool that are currently allocated to environment connections.
  - `batchJobCount` object — The key is the string representation of BatchJob.State (e.g. "RUNNING"). The value is the number of batch jobs in that state allocated to this node pool.
  - `batchJobRanks` object — The key is the string representation of BatchJob.State (e.g. "RUNNING"). The value is the number of ranks allocated to batch jobs in that state in this node pool.

## Changes

- **2025-11-06** `311efdb2fa57` — 3 info
  - the endpoint scheme security `BearerAuth` was added to the API
  - api tag `gateway.openapi_Gateway` added
  - api tag `Gateway` removed

[Change history](https://skmtc.dev/fw-ai-external/apis/gateway-rest-api/changes/v1/accounts/:account_id/nodePools/:node_pool_id:getStats/get.md)

---

[API](https://skmtc.dev/fw-ai-external/apis/gateway-rest-api.md) · [All operations](https://skmtc.dev/fw-ai-external/apis/gateway-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fw-ai-external/gateway-rest-api/revisions/29a1e4db152c/schema)
