cURL
curl --request GET \ --url https://statsigapi.net/console/v1/keys \ --header 'STATSIG-API-KEY: <api-key>'
{ "message": "Keys listed successfully.", "data": [ { "key": "secret-123", "type": "SERVER", "description": "Server secret key", "scopes": [], "environments": [ "production" ], "primaryTargetApp": "primaryApp", "secondaryTargetApps": [ "secondaryApp" ], "status": "active" }, { "key": "console-123", "type": "CONSOLE", "description": "Console API key", "scopes": [ "omni_read_write", "can_access_keys" ], "status": "active" } ] }
Optional header to respect review settings for mutation endpoints.
Results per page
10
Page number
1
Keys listed successfully
A simple string explaining the result of the operation.
Array of results returned by pagination limit.
Show child attributes
Pagination metadata for checking if there is next page for example.
Was this page helpful?