Get instance information
GET/api/admin/dashboard/executive
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Gets high level information about the usage of this Unleash instance, including user, project, and flag information. This endpoint is deprecated and will be removed in a future minor version. Please use /api/admin/insights
instead.
Responses
- 200
instanceInsightsSchema
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
Array [
]
Array [
]
userTrends
object[]
required
How number of users changed over time
A UTC date when the stats were captured. Time is the very end of a given day.
2024-01-12T23:59:59.999Z
The number of actual Unleash users on a particular day
100
The number of active Unleash users on a particular day
98
The number of inactive Unleash users on a particular day
2
flagTrends
object[]
required
How number of flags changed over time
A UTC date when the stats were captured. Time is the very end of a given day.
2024-01-12T23:59:59.999Z
The number of all flags on a particular day
100
The number of active flags on a particular day
98
The number of user marked stale flags on a particular day
0
The number of time calculated potentially stale flags on a particular day
2
projectFlagTrends
object[]
required
How number of flags per project changed over time
Year and week in a given year for which the stats were calculated
2024-40
Project id of the project the flag trends belong to
default
The average time from when a feature was created to when it was enabled in the "production" environment during the current window
10
A UTC date when the stats were captured. Time is the very end of a given day.
2024-01-12T23:59:59.999Z
The number of all flags on a particular day
100
The number of active flags on a particular day
98
The number of user marked stale flags on a particular day
0
The number of time calculated potentially stale flags on a particular day
2
The number of users who have access to the project
30
metricsSummaryTrends
object[]
required
How metrics data per project changed over time
Year and week in a given year for which the metrics summary was calculated
2024-01
A UTC date when metrics summary was captured. Time is the very end of a given day.
2024-01-12T23:59:59.999Z
Project id of the project the impressions summary belong to
default
Total number of times all project flags were requested
50
Total number of times all project flags were exposed across all environments
50
Total number of times all project flags were not exposed across all environments
50
Total number of applications the impression data belong to
50
Total number of flags the impression data belong to
50
Total number of environments the impression data belong to
50
environmentTypeTrends
object[]
required
How updates per environment type changed over time
A UTC date when the stats were captured. Time is the very end of a given day.
2024-01-12T23:59:59.999Z
Year and week in a given year for which the stats were calculated
2024-01
Environment type the data belongs too
production
Total number of times configuration has been updated in the environment type
50
{
"userTrends": [
{
"date": "2024-01-12T23:59:59.999Z",
"total": 100,
"active": 98,
"inactive": 2
}
],
"flagTrends": [
{
"date": "2024-01-12T23:59:59.999Z",
"total": 100,
"active": 98,
"stale": 0,
"potentiallyStale": 2
}
],
"projectFlagTrends": [
{
"week": "2024-40",
"project": "default",
"health": 50,
"timeToProduction": 10,
"date": "2024-01-12T23:59:59.999Z",
"total": 100,
"active": 98,
"stale": 0,
"potentiallyStale": 2,
"users": 30
}
],
"metricsSummaryTrends": [
{
"week": "2024-01",
"date": "2024-01-12T23:59:59.999Z",
"project": "default",
"totalRequests": 50,
"totalYes": 50,
"totalNo": 50,
"totalApps": 50,
"totalFlags": 50,
"totalEnvironments": 50
}
],
"environmentTypeTrends": [
{
"date": "2024-01-12T23:59:59.999Z",
"week": "2024-01",
"environmentType": "production",
"totalUpdates": 50
}
]
}