Update Metric

Update an existing Metric. You must specify the evalType and outputType of the metric. The structure of a metric depends on the evalType and outputType of the metric.

patch/metrics/{metricId}

Path parameters

metricIdstring required
Example:321

The ID of the Metric to update.

Request body

OR
OR
OR
OR
OR
OR
OR
OR

Response

Metric updated successfully

OR
OR
OR
OR
OR
OR
OR
OR

Changes

Changed in 4 of the 37 revisions of this API.615

  • 121aaa25780236See the full diff
    • ▲

      the response property / became optional for the status

      response-property-became-optional

    • ▲

      the response property / became optional for the status

      response-property-became-optional

    • ▲

      the response property / became optional for the status

      response-property-became-optional

    • ○

      the request property default value 0 was removed

      request-property-default-value-removed

    • ○

      the request property default value 0 was removed

      request-property-default-value-removed

    • ○

      the request property default value 0 was removed

      request-property-default-value-removed

    • ○

      the response's property default value 0 was removed for the status

      response-property-default-value-removed

    • ○

      the response's property default value 0 was removed for the status

      response-property-default-value-removed

    • ○

      the response's property default value 0 was removed for the status

      response-property-default-value-removed

    • ▲

      the request property / became not nullable

      request-property-became-not-nullable

    • ▲

      the request property / became not nullable

      request-property-became-not-nullable

    • ▲

      the request property / became not nullable

      request-property-became-not-nullable

    • ○

      the response property / became required for the status

      response-property-became-required

    • ○

      the response property / became required for the status

      response-property-became-required

    • ○

      the response property / became required for the status

      response-property-became-required

    • ○

      the response property / became required for the status

      response-property-became-required

    • ○

      the response property / became required for the status

      response-property-became-required

    • ○

      the response property / became required for the status

      response-property-became-required

    • ○

      added subschema #4: AI float metric subschema #5: Human float metric subschema #6: Heuristic float metric to the request body anyOf list

      request-body-any-of-added

    • ○

      added subschema #4: AI float metric subschema #5: Human float metric subschema #6: Heuristic float metric to the response body anyOf list for the response status

      response-body-any-of-added

    • ○

      endpoint added

      endpoint-added