---
title: "Get instance information"
method: GET
path: "/api/admin/insights"
tags: ["Admin UI"]
---

# Get instance information

`GET /api/admin/insights`

**Enterprise feature**

Gets high level information about the usage of this Unleash instance, including user, project, and flag information.

## Query parameters

- `from` string
- `to` string

## Response `200`

instanceInsightsSchema

- InstanceInsightsSchema — A summary of this Unleash instance's usage statistics, including user and flag counts, and trends over time.
  - `userTrends` object[], required — How number of users changed over time
    - `date` string, date-time, required — A UTC date when the stats were captured. Time is the very end of a given day.
    - `total` number, required — The number of actual Unleash users on a particular day
    - `active` number, required — The number of active Unleash users on a particular day
    - `inactive` number, required — The number of inactive Unleash users on a particular day
  - `flagTrends` object[], required — How number of flags changed over time
    - `date` string, date-time, required — A UTC date when the stats were captured. Time is the very end of a given day.
    - `total` number, required — The number of all flags on a particular day
    - `active` number, required — The number of active flags on a particular day
    - `stale` number, required — The number of user marked stale flags on a particular day
    - `potentiallyStale` number, required — The number of time calculated potentially stale flags on a particular day
  - `projectFlagTrends` object[], required — How number of flags per project changed over time
    - `week` string, required — Year and week in a given year for which the stats were calculated
    - `project` string, required — Project id of the project the flag trends belong to
    - `health` number, required — Use `technicalDebt` instead.
    - `technicalDebt` number — An indicator of the [project's technical debt](https://docs.getunleash.io/concepts/technical-debt) on a scale from 0 to 100
    - `timeToProduction` number — The average time from when a feature was created to when it was enabled in the "production" environment during the current window
    - `date` string, date-time, required — A UTC date when the stats were captured. Time is the very end of a given day.
    - `total` number, required — The number of all flags on a particular day
    - `active` number, required — The number of active flags on a particular day
    - `stale` number, required — The number of user marked stale flags on a particular day
    - `potentiallyStale` number, required — The number of time calculated potentially stale flags on a particular day
    - `users` number — The number of users who have access to the project
  - `metricsSummaryTrends` object[], required — How metrics data per project changed over time
    - `week` string, required — Year and week in a given year for which the metrics summary was calculated
    - `date` string, date-time, required — A UTC date when metrics summary was captured. Time is the very end of a given day.
    - `project` string, required — Project id of the project the impressions summary belong to
    - `totalRequests` number, required — Total number of times all project flags were requested
    - `totalYes` number, required — Total number of times all project flags were exposed across all environments
    - `totalNo` number, required — Total number of times all project flags were not exposed across all environments
    - `totalApps` number, required — Total number of applications the impression data belong to
    - `totalFlags` number, required — Total number of flags the impression data belong to
    - `totalEnvironments` number, required — Total number of environments the impression data belong to
  - `environmentTypeTrends` object[], required — How updates per environment type changed over time
    - `date` string, date-time, required — A UTC date when the stats were captured. Time is the very end of a given day.
    - `week` string, required — Year and week in a given year for which the stats were calculated
    - `environmentType` string, required — Environment type the data belongs too
    - `totalUpdates` number, required — Total number of times configuration has been updated in the environment type
  - `lifecycleTrends` object[], required — Weekly count of new flags entering production
    - `week` string, required — Year and week in a given year for which the stats were calculated
    - `date` string, date-time, required — A UTC date when the stats were captured. Time is the very end of a given week.
    - `newProductionFlags` number, required — Number of flags that entered production during this week
    - `project` string, required — Project id that the flags belong to
  - `creationArchiveTrends` object[], required — Weekly count of created vs archived flags by project and flag type
    - `week` string, required — Year and week in a given year for which the stats were calculated
    - `date` string, date-time, required — A UTC date when the stats were captured. Time is the very end of a given week.
    - `project` string, required — Project id that the flags belong to
    - `createdFlags` object, required — Count of newly created flags by flag type
    - `archivedFlags` number, required — Total count of archived flags during this week

---

[API](https://skmtc.net/unleash/apis/unleash-api-3.md) · [All operations](https://skmtc.net/unleash/apis/unleash-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unleash/unleash-api-3/revisions/b2c3116e633e/schema)
