Instance usage statistics
GET<your-unleash-url>/api/admin/instance-admin/statistics
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Provides statistics about various features of Unleash to allow for reporting of usage for self-hosted customers. The response contains data such as the number of users, groups, features, strategies, versions, etc.
Responses
- 200
instanceAdminStatsSchema
- application/json
- Schema
- Example (auto)
Schema
A unique identifier for this instance. Generated by the database migration scripts at first run. Typically a UUID.
ed3861ae-78f9-4e8c-8e57-b57efc15f82b
When these statistics were produced
2023-06-12T12:25:06Z
The version of Unleash OSS that is bundled in this instance
5.1.7
The version of Unleash Enterprise that is bundled in this instance
5.1.7
The number of users this instance has
8
previousDayMetricsBucketsCount object
activeUsers object
The number of users who had access to Unleash within the last 30 days, including those who may have been deleted during this period.
10
productionChanges object
The number of feature-toggles this instance has
47
The number of projects defined in this instance.
3
The number of context fields defined in this instance.
7
The number of roles defined in this instance
5
The number of groups defined in this instance
12
The number of environments defined in this instance
3
The number of segments defined in this instance
19
The number of strategies defined in this instance
8
Whether or not SAML authentication is enabled for this instance
false
Whether or not OIDC authentication is enabled for this instance
true
clientApps object[]
The number of export operations on this instance
0
The number of import operations on this instance
0
apiTokens object
The highest number of strategies used on a single feature flag in a single environment.
3
The highest number of constraints used on a single strategy.
4
The highest number of constraint values used on a single constraint.
17
A SHA-256 checksum of the instance statistics to be used to verify that the data in this object has not been tampered with
b023323477abb1eb145bebf3cdb30a1c2063e3edc1f7ae474ed8ed6c80de9a3b
{
"instanceId": "ed3861ae-78f9-4e8c-8e57-b57efc15f82b",
"timestamp": "2023-06-12T12:25:06Z",
"versionOSS": "5.1.7",
"versionEnterprise": "5.1.7",
"users": 8,
"previousDayMetricsBucketsCount": {
"enabledCount": 10,
"variantCount": 10
},
"activeUsers": {
"last7": 5,
"last30": 10,
"last60": 12,
"last90": 15
},
"licensedUsers": 10,
"productionChanges": {
"last30": 10,
"last60": 12,
"last90": 15
},
"featureToggles": 47,
"projects": 3,
"contextFields": 7,
"roles": 5,
"groups": 12,
"environments": 3,
"segments": 19,
"strategies": 8,
"SAMLenabled": false,
"OIDCenabled": true,
"clientApps": [
{
"range": "30d",
"count": 1
}
],
"featureExports": 0,
"featureImports": 0,
"apiTokens": {
"admin": 5,
"client": 5,
"frontend": 5
},
"maxEnvironmentStrategies": 3,
"maxConstraints": 4,
"maxConstraintValues": 17,
"sum": "b023323477abb1eb145bebf3cdb30a1c2063e3edc1f7ae474ed8ed6c80de9a3b"
}
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '<your-unleash-url>/api/admin/instance-admin/statistics' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>'