---
title: "GetEnvironmentClass"
method: POST
path: "/gitpod.v1.RunnerConfigurationService/GetEnvironmentClass"
tags: ["gitpod.v1.RunnerConfigurationService"]
---

# GetEnvironmentClass

`POST /gitpod.v1.RunnerConfigurationService/GetEnvironmentClass`

Gets details about a specific environment class.

 Use this method to:
 - View class configuration
 - Check resource settings
 - Verify availability

 ### Examples

 - Get class details:

   Retrieves information about a specific class.

   ```yaml
   environmentClassId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
   ```

## Request body

- GitpodV1GetEnvironmentClassRequest
  - `environmentClassId` string, uuid

## Response `200`

Success

- GitpodV1GetEnvironmentClassResponse
  - `environmentClass` GitpodV1EnvironmentClass
    - `configuration` GitpodV1FieldValue[] — configuration describes the configuration of the environment class
      - `key` string
      - `value` string
      - `values` string[] — values is an ordered list value. A field uses either value or values.
    - `description` string — description is a human readable description of the environment class
    - `displayName` string — display_name is the human readable name of the environment class
    - `enabled` boolean — enabled indicates whether the environment class can be used to create new environments.
    - `id` string, required — id is the unique identifier of the environment class
    - `runnerId` string, required — runner_id is the unique identifier of the runner the environment class belongs to

## Other responses

- `default` — Error

---

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