Skip to main content

Instance usage statistics

GET /api/admin/instance-admin/statistics
deprecated

This endpoint has been deprecated and may be 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.

Request

Responses

instanceAdminStatsSchema

Schema
  • instanceId string required

    A unique identifier for this instance. Generated by the database migration scripts at first run. Typically a UUID.

  • timestamp date-time nullable

    When these statistics were produced

  • versionOSS string

    The version of Unleash OSS that is bundled in this instance

  • versionEnterprise string

    The version of Unleash Enterprise that is bundled in this instance

  • users number

    The number of users this instance has

  • previousDayMetricsBucketsCount object

    The number client metrics buckets records recorded in the previous day. # features # apps # envs * # hours with metrics

  • enabledCount number

    The number of enabled/disabled metrics buckets recorded in the previous day

  • variantCount number

    The number of variant metrics buckets recorded in the previous day

  • activeUsers object

    The number of active users in the last 7, 30 and 90 days

  • last7 number

    The number of active users in the last 7 days

  • last30 number

    The number of active users in the last 30 days

  • last60 number

    The number of active users in the last 60 days

  • last90 number

    The number of active users in the last 90 days

  • productionChanges object

    The number of changes to the production environment in the last 30, 60 and 90 days

  • last30 number

    The number of changes in production in the last 30 days

  • last60 number

    The number of changes in production in the last 60 days

  • last90 number

    The number of changes in production in the last 90 days

  • featureToggles number

    The number of feature-toggles this instance has

  • projects number

    The number of projects defined in this instance.

  • contextFields number

    The number of context fields defined in this instance.

  • roles number

    The number of roles defined in this instance

  • groups number

    The number of groups defined in this instance

  • environments number

    The number of environments defined in this instance

  • segments number

    The number of segments defined in this instance

  • strategies number

    The number of strategies defined in this instance

  • SAMLenabled boolean

    Whether or not SAML authentication is enabled for this instance

  • OIDCenabled boolean

    Whether or not OIDC authentication is enabled for this instance

  • clientApps object[]

    A count of connected applications in the last week, last month and all time since last restart

  • Array [
  • range string

    Possible values: [allTime, 30d, 7d]

    A description of a time range

  • count number

    The number of client applications that have been observed in this period

  • ]
  • featureExports number

    The number of export operations on this instance

  • featureImports number

    The number of import operations on this instance

  • sum string

    A SHA-256 checksum of the instance statistics to be used to verify that the data in this object has not been tampered with

Loading...