Skip to main content
For a brief overview of GraphQL itself, please consult our introduction.

Average Metric Value

Metrics are associated with models; therefore, we utilize the model node to query for the average metric value.
Variables

Metric Over Time

To analyze metric values over time or plot reconstruction, use the following query
Variables

Drift Over Time

This endpoint allows you to query drift data points for a specific model within a given time interval. You can use it to monitor feature drift using metrics like PSI (Population Stability Index), KL (Kullback-Leibler divergence), or JS (Jensen-Shannon divergence). Your model baseline is defaulted as the baseline in this query but you can optionally specify a referenceDataset.

Parameters

  • “MODEL ID”: The unique identifier for your model.
  • dimension: Specifies the feature or dimension you want to analyze.
    • startTime: The start of the interval for querying data (in UTC).
    • endTime: The end of the interval for querying data (in UTC).
    • category: The type of data you are querying. Options include:
      • featureLabel
      • prediction
      • actuals
      • actualScore
      • actualClass
      • predictionClass
      • predictionScore
      • tag
    • name: The specific feature or dimension name you want to query.
    • environmentName: The environment for which the data is being queried, such as ‘production’.
  • driftHistory: Retrieves the drift data over the specified time period.
    • driftMetric: The metric used to measure drift. Options include:
      • psi (Population Stability Index)
      • kl (Kullback-Leibler divergence)
      • js (Jensen-Shannon divergence)
    • timeSeriesDataGranularity: The granularity of the data points in the time series. Options include:
      • day
      • hour
      • week
      • month
    • timeZone: The time zone for the data points, e.g., “UTC”.

Global Feature Importance

This endpoint allows you to query the global feature importance for all your feautres.
Variables

Get Model Schema Stats

You can query the model schema to gather key statistics such as cardinality, percent empty, and drift. The query below retrieves data on features and predictions, including percentEmpty, cardinality, and drift metrics.
Variables