Metrics

Create Metrics

Creates a new metric on your Confident AI project.

post/v1/metrics

Request

Request body

namestring required

The name of the metric you're creating in your project.

criteriastring

The criteria for this particular metric, that will be used to evaluate test cases later.

evaluationStepsstring

An alternative to criteria, it is a list of steps to take to evaluate your test cases.

multiTurnboolean required

This is true if your metric is used for evaluating multi-turn test cases.

Response

successboolean required

This is true if the metric was created successfully.

deprecatedboolean required

This is true if this metrics endpoint is deprecated.

Changes

No operation changes recorded.