Add Collection

Creates a metric collection with the name and the metricSettings you specified.

Headers

CONFIDENT_API_KEYstringRequired
The API key of your Confident AI project.

Request

namestringRequired
This is the unique name of the metric collection you wish to create.
multiTurnbooleanOptional

This is true if your metric collection is multi-turn, which contains only multi-turn metrics. Defaulted to false.

metricSettingslist of objectsOptional
This is the list of metric settings for the collection.

Response

successboolean
This is true if the metric collection was created successfully.
dataobject
This maps to the id of the metric collection.
deprecatedboolean
This is true if this metric collection endpoint is deprecated.