Query
query ListEnvironments {
listEnvironments {
color
createdAt
description
displayName
hardenClientAccessEnabled
id
}
}Response
{
"data": {
"listEnvironments": [
{
"color": "string",
"createdAt": "value",
"description": "string",
"displayName": "string",
"hardenClientAccessEnabled": true,
"id": "value"
}
]
}
}Queries
listEnvironments
List all environments with scalar fields only (no relations)
QUERY
listEnvironments: [EnvironmentListItem!]!Returns
color
String
The color associated with the environment, used for UI representation
createdAt
DateTime
Timestamp of when the record was created
description
String
The description of the environment
displayName
String!
The display name of the environment
hardenClientAccessEnabled
Boolean!
Whether hardened client access is enabled for the environment
id
UUID!
Unique identifier for the entity
isSandbox
Boolean!
Whether the environment is a sandbox environment
signingToken
String!
The signing token for the environment, used for secure communication
slug
String!
The slug of the environment, used in URLs
type
The type of the environment, e.g. "DEVELOPMENT", "PRODUCTION", or "SANDBOX"
Query
query ListEnvironments {
listEnvironments {
color
createdAt
description
displayName
hardenClientAccessEnabled
id
}
}Response
{
"data": {
"listEnvironments": [
{
"color": "string",
"createdAt": "value",
"description": "string",
"displayName": "string",
"hardenClientAccessEnabled": true,
"id": "value"
}
]
}
}