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

# GetEnvironmentClass

`POST /gitpod.v1.RunnerConfigurationService/GetEnvironmentClass`

GetEnvironmentClass returns a single environment class configured for a runner.

## 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
    - `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 — id is the unique identifier of the environment class
    - `runnerId` string — runner_id is the unique identifier of the runner the environment class belongs to

## Other responses

- `default` — Error

---

[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/27f7bd641de1/schema)
