List Keys

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

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

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Query parameters

limitinteger

Results per page

Example:10
Constraints:stringnumber
pageinteger

Page number

Example:1
Constraints:stringnumber
Other properties2
primaryTargetAppstring
environmentstring

Response

application/json
200· Keys listed successfully
messagestringrequired

A simple string explaining the result of the operation.

dataobject[]required
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
paginationobjectrequired

Pagination metadata for checking if there is next page for example.

Show child attributes
itemsPerPagenumberrequired
Constraints:format: double
pageNumbernumberrequired
Constraints:format: double
nextPagestringrequired
Constraints:nullable
previousPagestringrequired
Constraints:nullable
totalItemsnumber
Constraints:format: double
allstring
403· Insufficient permissions.
statusintegerrequired
Allowed values:403
messagestringrequired

Was this helpful?