Read Key
Reference for the GET /console/v1/keys/{id} endpoint of the Statsig API.
get
https://statsigapi.net/console/v1/keys/{id}Authorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Path parameters
idstringrequiredResponse
application/json200· Key read successfully
messagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
keystringrequiredConstraints:
nullabletypestringrequiredAllowed values:
SERVERCLIENTCONSOLESCIMORGdescriptionstringrequiredscopesstring[]requiredenvironmentsstring[]primaryTargetAppstringConstraints:
nullablesecondaryTargetAppsstring[]Constraints:
nullablestatusstringrequiredAllowed values:
activedeactivatedlastUsedstringConstraints:
nullable403· Insufficient permissions.
statusintegerrequiredAllowed values:
403messagestringrequired404· Key not found.
statusintegerrequiredAllowed values:
404messagestringrequiredWas this helpful?