v36

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-113513150.0 KB

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