Get Evaluator Collection
(v2)GET
Retrieves an evaluator collection with every scorer inside it and its settings, and every classifier inside it.
curl -X GET "https://api.confident-ai.com/v2/evaluator-collections/{evaluatorCollectionId}" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"id": "<EVALUATOR-COLLECTION-ID>",
"name": "RAG Quality",
"multiTurn": false,
"sampleRate": 1,
"inputTransformerId": "<TRANSFORMER-ID>",
"outputTransformerId": null,
"metricsSettings": [
{
"metric": {
"id": "<METRIC-ID>",
"name": "Answer Relevancy"
},
"activated": true,
"threshold": 0.8,
"includeReason": true,
"strictMode": false,
"sampleRate": 1,
"evaluationModelProvider": "OPEN_AI",
"evaluationModelName": "gpt-4o",
"evaluationModelCredentialId": null,
"decisionModelProvider": "OPEN_AI",
"decisionModelName": "jev-latest",
"evalMode": "LLM"
}
],
"classifiers": [
{
"id": "<EVALUATOR-ID>",
"name": "Refund reason",
"activated": true
}
]
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
evaluatorCollectionIdstringRequiredThe unique id of the evaluator collection.
Response
Get Evaluator Collection succeeded.
successbooleanIndicates if the request was successful.
dataobjectAn evaluator collection: its name, sampling and transformer configuration, the settings for every scorer inside it, and its classifiers.
Show 8 propertiesHide 8 properties
idstringThis is the id of the evaluator collection.
namestringThis is the name of the evaluator collection, which you supply to the evals API to run evaluations remotely.
multiTurnbooleanWhether this is a multi-turn collection. Multi-turn collections contain only multi-turn evaluators and evaluate conversations rather than single test cases.
sampleRatenumberThe share of eligible entities this collection is run against, between 0 and 1. Applied on top of each evaluator's own
sampleRate.inputTransformerIdstring | nullThe id of the transformer that reshapes the payload before evaluation, or
nullwhen the collection does not use one.outputTransformerIdstring | nullThe id of the transformer that reshapes the result after evaluation, or
nullwhen the collection does not use one.metricsSettingslist of objectsThe scorers in the collection with their settings.
Show 12 propertiesHide 12 properties
metricobjectA scorer as it appears inside a collection, by id and name.
Show 2 propertiesHide 2 properties
idstringThis is the id of the scorer.
namestringThis is the name of the scorer.
activatedbooleanWhether this evaluator is activated. Only activated evaluators are run during an evaluation.
thresholdnumberThe threshold this scorer is scored against. A scorer passes when its score is equal to or greater than the threshold.
includeReasonbooleanWhether a written reason explaining the scorer's score is generated during evaluation.
strictModebooleanWhether this scorer runs in strict mode, which outputs a binary score of 0 or 1 instead of a continuous score.
sampleRatenumberThe probability that this evaluator is run for any given evaluation, between 0 and 1. Applied on top of the collection's own
sampleRate.evaluationModelProviderenum | nullThis is the provider of the model.
Show 26 enum valuesHide 26 enum values
OPEN_AICUSTOMCONFIDENT_AIBEDROCKANTHROPICGEMINIX_AIDEEPSEEKMOONSHOT_AIVERTEX_AIAZUREMISTRALPERPLEXITYOPEN_ROUTERPORTKEYLITE_LLMTRUE_FOUNDRYHUGGING_FACETYPE_SAFEFALZ_AIDEEPGRAMASSEMBLY_AIELEVEN_LABSCARTESIAHUME
evaluationModelNamestring | nullThe name of the model this scorer is evaluated with, or
nullwhen the project's default evaluation model is used.evaluationModelCredentialIdstring | nullFor
BEDROCKandAZURE, the id of the stored credential this scorer is evaluated with, or null when it uses the provider's default credential.decisionModelProviderenum | nullThis is the provider of the model.
Show 26 enum valuesHide 26 enum values
OPEN_AICUSTOMCONFIDENT_AIBEDROCKANTHROPICGEMINIX_AIDEEPSEEKMOONSHOT_AIVERTEX_AIAZUREMISTRALPERPLEXITYOPEN_ROUTERPORTKEYLITE_LLMTRUE_FOUNDRYHUGGING_FACETYPE_SAFEFALZ_AIDEEPGRAMASSEMBLY_AIELEVEN_LABSCARTESIAHUME
decisionModelNamestring | nullThe name of the decision model this scorer decides with, or
nullwhen the project's default decision model is used.evalModeenum | nullWhich model does the work:
LLMruns only the evaluation model,DECISIONonly the decision model, andHYBRIDhas the decision model decide while the evaluation model assists.Show 3 enum valuesHide 3 enum values
LLMHYBRIDDECISION
classifierslist of objectsThe classifiers in the collection. To keep one on an update, list its name in
metricsSettingswith theactivatedyou want.Show 3 propertiesHide 3 properties
idstringThis is the id of the classifier.
namestringThis is the name of the classifier.
activatedbooleanWhether this classifier is activated. Only activated evaluators are run during an evaluation.
deprecatedbooleanIndicates if this endpoint is deprecated.