Get Environments
get
https://statsigapi.net/console/v1/environmentsAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Response
application/json200· Get Environments Response
messagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
environmentsobject[]requirednamestringrequiredThe name of the environment.
idstringrequiredA unique identifier for the environment.
isProductionbooleanrequiredWhether the environment is production.
requiresReviewbooleanrequiredWhether the environment requires review.
requiredReviewGroupIDstringThe ID of the review group that the environment requires review from.
requiresReleasePipelinebooleanrequiredWhether the environment requires a release pipeline.
400· Invalid request. Please check the request input and try again.
statusintegerrequiredAllowed values:
400messagestringrequired401· This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx
statusintegerrequiredAllowed values:
401messagestringrequiredWas this helpful?