Get instance information
GET<your-unleash-url>/api/admin/dashboard/executive
deprecated
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 (auto)
Schema
userTrends object[]required
flagTrends object[]required
projectFlagTrends object[]required
metricsSummaryTrends object[]required
environmentTypeTrends object[]required
{
"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
}
]
}
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 'https://unleash-docs-axhngephn-unleash-team.vercel.app/api/admin/dashboard/executive' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>'
ResponseClear