ListEnvironmentClasses
POST/gitpod.v1.EnvironmentService/ListEnvironmentClasses
Lists available environment classes with their specifications and resource limits.
Use this method to understand what types of environments you can create and their capabilities. Environment classes define the compute resources and features available to your environments.
Examples
-
List all available classes:
Retrieves a list of all environment classes with their specifications.
{}
buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
ListEnvironmentClasses
curl https://app.gitpod.io/api/gitpod.v1.EnvironmentService/ListEnvironmentClasses \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $GITPOD_API_KEY" \
-d '{}'{
"environmentClasses": [
{
"id": "id",
"runnerId": "runnerId",
"configuration": [
{
"key": "key",
"value": "value"
}
],
"description": "xxx",
"displayName": "xxx",
"enabled": true
}
],
"pagination": {
"nextToken": "nextToken"
}
}Returns Examples
{
"environmentClasses": [
{
"id": "id",
"runnerId": "runnerId",
"configuration": [
{
"key": "key",
"value": "value"
}
],
"description": "xxx",
"displayName": "xxx",
"enabled": true
}
],
"pagination": {
"nextToken": "nextToken"
}
}