Skip to main content

Get feature metrics

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

Get usage metrics for a specific feature for the last 48 hours, grouped by hour

Request

Path Parameters

  • name string required
Responses

featureMetricsSchema

Schema
  • version integer required

    Possible values: >= 1

    The version of this schema

  • maturity string required

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

  • data object[]required

    Metrics gathered per environment

  • Array [
  • featureName string

    The name of the feature

  • appName string

    The name of the application the SDK is being used in

  • environment string required

    Which environment the SDK is being used in

  • timestamp objectrequired

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

    oneOf
  • string date-time

    An RFC-3339-compliant timestamp.

  • yes integer required

    How many times the toggle evaluated to true

  • no integer required

    How many times the toggle evaluated to false

  • variants object

    How many times each variant was returned

  • property name* integer
  • ]
Loading...