# List runner environments in project

`GET /v1/projects/{project}/runnerPools/{pool}/runners/{runner}/environments`, operation `environments.ListRunnerEnvironmentsInProject`

Lists the environments on a runner, from every project its pool serves, oldest first.

Requires environments.runners.get on the runner. Anyone with root access on the runner host can inspect these environments, which is why adding a runner requires environments.runners.create.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `project` | path | Yes | `string` | The project's ID. |
| `pool` | path | Yes | `string` | The runner pool's ID. |
| `runner` | path | Yes | `string` | The runner's ID. |
| `pageSize` | query | No | `integer (int32)` | Maximum number to return. Defaults to 50; values above 500 are treated as 500. |
| `pageToken` | query | No | `string` | Page token from a previous response. |

## Responses

### 200

OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `environments` | `Environment[]` | Yes | Environments, oldest first. |
| `nextPageToken` | `string` | Yes | Token for the next page; empty on the last page. |

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.