List the variables of an environment, with masked values. Requires project.read.
Arguments
inputEnvironmentVariablesInput!requiredinput.environmentIdID!requiredEnvironment UUID.
input.keys[String!]Only these keys, at most 100 of at most 255 characters each. The filter applies before pagination; a key that does not exist is not in data.
input.limitIntVariables per page, 1 to 100 (default 20).
input.cursorStringpageInfo.endCursor of the previous page; send it with the same sort.
input.sortByEnvironmentVariableSortBySort field: key (default) or updated_at. Ties break by variable ID ascending. One of
key,updated_at.input.sortOrderEnvironmentVariableSortOrderSort direction: asc (default) or desc. One of
asc,desc.
Responses
query EnvironmentVariables($input: EnvironmentVariablesInput!) { environmentVariables(input: $input) { data { id key value hasValue } pageInfo { hasNextPage hasPreviousPage startCursor endCursor } }}{ "data": { "environmentVariables": { "data": [ { "id": "string", "key": "string", "value": "string", "hasValue": false } ], "pageInfo": { "hasNextPage": false, "hasPreviousPage": false, "startCursor": "string", "endCursor": "string" } } }}The EnvironmentVariablePage! in data.environmentVariables.