observability

Add a failure mode's example calls to Labs

Changed on

Sample a few of one failure mode's example calls and add them to Labs as metric reviews for the insight's metric, with an optional feedback note and an optional corrected expected_value label (defaults to a pass). Select the failure mode with failure_mode_index. Overwrites any existing review for the same calls on this metric.

post/observability/v1/metric-failure-mode-insights/{id}/fix-metric/

Request

  • Base URL
    https://api.cekura.ai
  • URL
    https://api.cekura.ai/observability/v1/metric-failure-mode-insights/{id}/fix-metric/
  • Auth
    • API key in header X-CEKURA-API-KEY
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

idinteger required

A unique integer value identifying this metric failure mode insight.

Request body

failure_mode_indexinteger required

Index into the insight's failure_modes list to act on.

feedbackstring

Optional human note attached to each sampled call's metric review in Labs. The corrected label alone is enough to iterate on the metric, so a blank note is accepted.

expected_valueunknown

Response

failure_mode_indexinteger required

Index into the insight's failure_modes list to act on.

feedbackstring

Optional human note attached to each sampled call's metric review in Labs. The corrected label alone is enough to iterate on the metric, so a blank note is accepted.

expected_valueunknown

Changes