Create Metric

Create a new Metric for evaluating system outputs. The structure of a metric depends on the evalType and outputType of the metric.

post/projects/{projectId}/metrics

Path parameters

projectIdstring required
Example:314

The ID of the Project to create the Metric in.

Request body

OR
OR
OR
OR
OR
OR
OR
OR

Response

Metric created successfully

OR
OR
OR
OR
OR
OR
OR
OR

Changes

Changed in 5 of the 37 revisions of this API.718

  • 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

  • a01e12cdb28b13See the full diff
    • ▲

      removed subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 subschema #6 from the request body anyOf list

      request-body-any-of-removed

    • ○

      added subschema #1: AI int metric subschema #2: Human int metric subschema #3: Heuristic int metric subschema #4: AI boolean metric subschema #5: Human boolean metric subschema #6: Heuristic boolean metric to the request body anyOf list

      request-body-any-of-added

    • ○

      added subschema #1: AI int metric subschema #2: Human int metric subschema #3: Heuristic int metric subschema #4: AI boolean metric subschema #5: Human boolean metric subschema #6: Heuristic boolean metric to the response body anyOf list for the response status

      response-body-any-of-added

    • ○

      removed subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 subschema #6 from the response body anyOf list for the response status

      response-body-any-of-removed

    • ○

      endpoint added

      endpoint-added