Read Key

Reference for the GET /console/v1/keys/{id} endpoint of the Statsig API.

gethttps://statsigapi.net/console/v1/keys/{id}

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Path parameters

idstringrequired

Response

application/json
200· Key read successfully
messagestringrequired

A simple string explaining the result of the operation.

dataobjectrequired
Show child attributes
keystringrequired
Constraints:nullable
typestringrequired
Allowed values:SERVERCLIENTCONSOLESCIMORG
descriptionstringrequired
scopesstring[]required
environmentsstring[]
primaryTargetAppstring
Constraints:nullable
secondaryTargetAppsstring[]
Constraints:nullable
statusstringrequired
Allowed values:activedeactivated
lastUsedstring
Constraints:nullable
403· Insufficient permissions.
statusintegerrequired
Allowed values:403
messagestringrequired
404· Key not found.
statusintegerrequired
Allowed values:404
messagestringrequired

Was this helpful?