curl --request GET \
--url https://statsigapi.net/console/v1/keys/{id} \
--header 'STATSIG-API-KEY: <api-key>'{
"message": "Key read successfully.",
"data": {
"key": "secret-123",
"type": "SERVER",
"description": "Server secret key",
"scopes": [],
"environments": [
"production"
],
"primaryTargetApp": "primaryApp",
"secondaryTargetApps": [
"secondaryApp"
],
"status": "active"
}
}curl --request GET \
--url https://statsigapi.net/console/v1/keys/{id} \
--header 'STATSIG-API-KEY: <api-key>'{
"message": "Key read successfully.",
"data": {
"key": "secret-123",
"type": "SERVER",
"description": "Server secret key",
"scopes": [],
"environments": [
"production"
],
"primaryTargetApp": "primaryApp",
"secondaryTargetApps": [
"secondaryApp"
],
"status": "active"
}
}Optional header to respect review settings for mutation endpoints.
Key read successfully
A simple string explaining the result of the operation.
A single result.
Show child attributes
SERVER, CLIENT, CONSOLE, SCIM omni_read_only, omni_read_write, client_download_config_specs, none_hash_enabled, can_access_keys active, deactivated