Skip to main content
GetMetricsResponse = object

Description

Response for GET /metrics

Properties

metrics

metrics: object[]

categories?

optional categories?: object[] | null

child_metrics?

optional child_metrics?: object[] | null

created_at

created_at: string
Format: date-time

criteria

criteria: string

description

description: string | null

enabled_in_prod

enabled_in_prod: boolean

filters

filters: object
filters.filterArray
filterArray: object[]

id

id: string

model_name?

optional model_name?: string | null

model_provider?

optional model_provider?: string | null

name

name: string

needs_ground_truth

needs_ground_truth: boolean

return_type

return_type: "float" | "boolean" | "string" | "categorical"

sampling_percentage

sampling_percentage: number

scale?

optional scale?: number | null

threshold?

optional threshold?: { max?: number; min?: number; pass_when?: boolean | number; passing_categories?: string[]; } | null

type

type: "PYTHON" | "LLM" | "HUMAN" | "COMPOSITE"

updated_at

updated_at: string | null
Format: date-time