---
title: "ListProjectEnvironmentClasses"
method: POST
path: "/gitpod.v1.ProjectService/ListProjectEnvironmentClasses"
tags: ["gitpod.v1.ProjectService"]
---

# ListProjectEnvironmentClasses

`POST /gitpod.v1.ProjectService/ListProjectEnvironmentClasses`

Lists environment classes of a project.

 Use this method to:
 - View all environment classes of a project

 ### Examples

 - List project environment classes:

   Shows all environment classes of a project.

   ```yaml
   projectId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
   pagination:
     pageSize: 20
   ```

## Query parameters

- `pageSize` integer
- `token` string

## Request body

- GitpodV1ListProjectEnvironmentClassesRequest — ListProjectEnvironmentClassesRequest lists environment classes of a project.
  - `pagination` GitpodV1PaginationRequest
    - `pageSize` integer — Page size is the maximum number of results to retrieve per page. Defaults to 25. Maximum 100.
    - `token` string — Token for the next set of results that was returned as next_token of a PaginationResponse
  - `projectId` string, uuid — project_id specifies the project identifier

## Response `200`

Success

- GitpodV1ListProjectEnvironmentClassesResponse — unresolved $ref

## Other responses

- `default` — Error

## Changes

- **2025-12-15** `d62ef4b9187c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.ProjectService/ListProjectEnvironmentClasses/post.md)

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/44d50c2ac284/schema)
