Add Metric Failure Mode Insight Category Example Calls to Labs
Sample the latest calls in one persistent failure category and add them to Labs for its metric, with feedback as the note and an optional corrected expected_value label (defaults to a pass).
Authorizations
API Key Authentication. It should be included in the header of each request.
Path Parameters
^[^/]+$Body
Request body for POST /metric-failure-mode-insights/{id}/fix_metric/.
Samples a few of one failure mode's example calls and adds them to Labs
for the insight's metric, carrying the user's feedback as the note and
expected_value as the corrected label.
Index into the insight's failure_modes list to act on.
x >= 0Human note attached to each sampled call's metric review in Labs.
Corrected label to record for each sampled call in Labs: true/false for binary metrics, a 0-5 score for ratings, a number for numeric metrics, or null for N/A. Defaults to a passing value when omitted.
Response
Request body for POST /metric-failure-mode-insights/{id}/fix_metric/.
Samples a few of one failure mode's example calls and adds them to Labs
for the insight's metric, carrying the user's feedback as the note and
expected_value as the corrected label.
Index into the insight's failure_modes list to act on.
x >= 0Human note attached to each sampled call's metric review in Labs.
Corrected label to record for each sampled call in Labs: true/false for binary metrics, a 0-5 score for ratings, a number for numeric metrics, or null for N/A. Defaults to a passing value when omitted.