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

Request

  • Base URL
    https://api2.scorecard.io/api/v2
  • Auth
    HTTP bearer

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

    • info

      the request property default value 0 was added

    • info

      the request property default value 0 was added

    • info

      the request property default value 0 was added

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

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

    • info

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

    • info

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

    • breaking

      the response property / became optional for the status

    • breaking

      the response property / became optional for the status

    • breaking

      the response property / became optional for the status

    • info

      the request property default value 0 was removed

    • info

      the request property default value 0 was removed

    • info

      the request property default value 0 was removed

    • info

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

    • info

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

    • info

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