---
title: "View the status of an Agent Pool"
method: GET
path: "/api/test-distribution/agent-pools/{poolId}/status"
tags: ["TestDistribution", "GradleEnterprise", "Develocity"]
---

# View the status of an Agent Pool

`GET /api/test-distribution/agent-pools/{poolId}/status`

## Request

- Base URL: `https://develocity.example.com`
- URL: `https://develocity.example.com/api/test-distribution/agent-pools/{poolId}/status`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/develocity/apis/develocity-api/docs/api/test-distribution/agent-pools/:poolId/status/get.ts> (a function with typed inputs; its response is checked against the schema)

View the status of an Agent Pool, such as its current size.
To access this endpoint the user requires the `Test Distribution` permission.

## Response `200`

The poolId referenced an existing Agent Pool whose status is described in the response.

- TestDistributionAgentPoolStatus: The status of an agent pool.
  - `id` string, required: The unique identifier of the agent pool.
  - `name` string, required: The alias or display name of the agent pool.
  - `minimumSize` integer, required
  - `maximumSize` integer, required
  - `connectedAgents` integer, required
  - `idleAgents` integer, required
  - `desiredAgents` integer, required

## Other responses

- `403`: The authenticated user has insufficient permissions.
- `404`: No API key was specified in the request, the key has been revoked, or the user bearing the key lacks permissions for this operation.

---

[API](https://skmtc.dev/develocity/apis/develocity-api.md) - [All operations](https://skmtc.dev/develocity/apis/develocity-api/llms.txt) - [OpenAPI document](https://skmtc.dev/develocity/apis/develocity-api/revisions/b49835fbf065?raw)
