client.get_custom_metrics

Gets details about all user-defined Custom Metrics for a given model.

Input ParameterTypeDefaultRequiredDescription
project_idstringYesThe unique identifier for the project
model_idstringYesThe unique identifier for the model
limitOptional[int]300NoMaximum number of items to return
offsetOptional[int]0NoNumber of items to skip before returning
PROJECT_ID = 'my_project'
MODEL_ID = 'my_model'

custom_metrics = client.get_custom_metrics(
  project_id=PROJECT_ID,
  model_id=MODEL_ID
)
Return TypeDescription
List[fiddler.schema.custom_metric.CustomMetric]List of custom metric objects for the given model