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 anyOf[subschema #1: AI int metric]/temperature became optional for the status 201

      response-property-became-optional

    • the response property anyOf[subschema #4: AI float metric]/temperature became optional for the status 201

      response-property-became-optional

    • the response property anyOf[subschema #7: AI boolean metric]/temperature became optional for the status 201

      response-property-became-optional

    • the temperature request property default value 0 was removed

      request-property-default-value-removed

    • the temperature request property default value 0 was removed

      request-property-default-value-removed

    • the temperature request property default value 0 was removed

      request-property-default-value-removed

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

      response-property-default-value-removed

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

      response-property-default-value-removed

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

      response-property-default-value-removed

    • the request property anyOf[subschema #1: AI int metric]/guidelines became not nullable

      request-property-became-not-nullable

    • the request property anyOf[subschema #4: AI float metric]/guidelines became not nullable

      request-property-became-not-nullable

    • the request property anyOf[subschema #7: AI boolean metric]/guidelines became not nullable

      request-property-became-not-nullable

    • the response property anyOf[subschema #2: Human int metric]/guidelines became required for the status 201

      response-property-became-required

    • the response property anyOf[subschema #3: Heuristic int metric]/guidelines became required for the status 201

      response-property-became-required

    • the response property anyOf[subschema #5: Human float metric]/guidelines became required for the status 201

      response-property-became-required

    • the response property anyOf[subschema #6: Heuristic float metric]/guidelines became required for the status 201

      response-property-became-required

    • the response property anyOf[subschema #8: Human boolean metric]/guidelines became required for the status 201

      response-property-became-required

    • the response property anyOf[subschema #9: Heuristic boolean metric]/guidelines became required for the status 201

      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 201

      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 201

      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 201

      response-body-any-of-removed

    • endpoint added

      endpoint-added