Get Environments

gethttps://statsigapi.net/console/v1/environments

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Response

application/json
200· Get Environments Response
messagestringrequired

A simple string explaining the result of the operation.

dataobjectrequired
Show child attributes
environmentsobject[]required
namestringrequired

The name of the environment.

idstringrequired

A unique identifier for the environment.

isProductionbooleanrequired

Whether the environment is production.

requiresReviewbooleanrequired

Whether the environment requires review.

requiredReviewGroupIDstring

The ID of the review group that the environment requires review from.

requiresReleasePipelinebooleanrequired

Whether the environment requires a release pipeline.

400· Invalid request. Please check the request input and try again.
statusintegerrequired
Allowed values:400
messagestringrequired
401· This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx
statusintegerrequired
Allowed values:401
messagestringrequired

Was this helpful?