Skip to main content

Last hour of usage and a list of applications that have reported seeing this feature flag

GET 

/api/admin/client-metrics/features/:name

Separate counts for yes (enabled), no (disabled), as well as how many times each variant was selected during the last hour

Request

Path Parameters

    name stringrequired

Responses

featureUsageSchema

Schema

    version integerrequired

    The version of this schema

    Possible values: >= 1

    maturity stringrequired

    The maturity level of this API (alpha, beta, stable, deprecated)

    Example: stable
    featureName stringrequired

    The name of the feature

    Example: my.special.feature

    lastHourUsage

    object[]

    required

    Last hour statistics. Accumulated per feature per environment. Contains counts for evaluations to true (yes) and to false (no)

  • Array [

  • featureName string

    The name of the feature

    Example: my.special.feature
    appName string

    The name of the application the SDK is being used in

    Example: accounting
    environment stringrequired

    Which environment the SDK is being used in

    Example: development

    timestamp

    object

    required

    The start of the time window these metrics are valid for. The window is usually 1 hour wide

    oneOf

    An RFC-3339-compliant timestamp.

    string

    yes integerrequired

    How many times the toggle evaluated to true

    Example: 974
    no integerrequired

    How many times the toggle evaluated to false

    Example: 50

    variants

    object

    How many times each variant was returned

    property name* integer
  • ]

  • seenApplications string[]required

    A list of applications seen using this feature

    Example: ["accounting","billing","booking"]
Loading...