---
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

## Changes

- **2026-07-30** `44d50c2ac284` — 1 info
  - added the optional property `environmentClass/configuration/items/values` to the response with the `200` status
- **2025-02-21** `3655d5ad0ac3` — 1 breaking, 7 info
  - the `environmentClass` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - added the optional property `environmentClass/configuration` to the response with the `200` status
  - added the optional property `environmentClass/description` to the response with the `200` status
  - added the optional property `environmentClass/displayName` to the response with the `200` status
  - …4 more
- **2025-02-18** `cd6a05ae99d2` — 1 warning
  - removed the optional property `detail` from the response with the `default` status
- **2025-02-18** `bef0e79f204c` — 1 info
  - the response property `environmentClass/allOf[subschema #1: EnvironmentClass]/runnerId` became required for the status `200`
- **2025-02-18** `f6598ab5d682` — 1 info
  - the response property `environmentClass/allOf[subschema #1: EnvironmentClass]/id` became required for the status `200`

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.RunnerConfigurationService/GetEnvironmentClass/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)
