Introducing Confident Voice: Watch the Launch Video Now

Batch Create Evaluators

(v1)

POST

Creates several evaluators in one request. An evaluator whose name is already taken is not created and is listed under skipped. Score evaluators using DAG are not accepted here.

POST/v1/evaluators/batch
curl -X POST "https://api.confident-ai.com/v1/evaluators/batch" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>" \
  -H "Content-Type: application/json" \
  -d '{
  "evaluators": [
    {
      "output": "score",
      "score": {
        "name": "Correctness",
        "multiTurn": false,
        "algorithm": "GEVAL",
        "criteria": "Determine if the `actual output` is correct based on the `expected output`.",
        "evaluationParams": [
          "actualOutput",
          "expectedOutput"
        ]
      }
    },
    {
      "output": "label",
      "label": {
        "name": "Sentiment",
        "description": "Analyzes the emotional tone of user interactions.",
        "preset": "SENTIMENT"
      }
    }
  ]
}'
200
{
  "success": true,
  "data": {
    "evaluators": [
      {
        "id": "<EVALUATOR-ID>",
        "output": "score",
        "name": "Correctness",
        "algorithm": "GEVAL",
        "criteria": "Determine if the `actual output` is correct based on the `expected output`.",
        "evaluationSteps": null,
        "rubric": null,
        "dag": null,
        "questions": null,
        "promptConfig": null,
        "multiTurn": false,
        "requiredParameters": [
          "actualOutput",
          "expectedOutput"
        ]
      }
    ],
    "skipped": [
      {
        "output": "label",
        "name": "Sentiment",
        "error": "Classifier \"Sentiment\" already exists"
      }
    ]
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Request body

  • evaluatorslist of objectsRequired

    The evaluators to create. One whose name is already taken in the project is not created and is listed under skipped.

    Show 3 propertiesHide 3 properties
    • outputenumRequired

      What the evaluator returns. A score evaluator scores each trace, span or thread from 0 to 1 (a metric); a label evaluator tags it with one of its labels (a classifier).

      Show 2 enum valuesHide 2 enum values
      • score
      • label
    • scoreobject

      A metric to create. GEVAL metrics need criteria or evaluationSteps; a DAG metric needs algorithm set to DAG and a dag; a JEVAL metric needs algorithm set to JEVAL and questions; a PROMPT metric needs algorithm set to PROMPT and a promptConfig.

      Show 10 propertiesHide 10 properties
      • namestringRequired

        The name of the metric, unique within your project.

      • multiTurnboolean

        This is true when the metric evaluates conversations rather than single test cases. It decides which evaluationParams are valid and cannot be changed later.

      • criteriastring

        The criteria the metric scores against. A GEVAL metric needs criteria or evaluationSteps.

      • evaluationStepslist of strings

        The steps the metric follows to score, as an alternative to criteria.

      • evaluationParamslist of enums

        The test case fields the metric evaluates. A single-turn metric needs at least one, and every field must match multiTurn.

        Show 15 enum valuesHide 15 enum values
        • input
        • actualOutput
        • expectedOutput
        • context
        • expectedTools
        • content
        • role
        • scenario
        • expectedOutcome
        • audio
        • turns
        • toolsCalled
        • retrievalContext
        • metadata
        • tags
      • rubriclist of objects

        Score ranges that anchor how the metric scores.

        Show 2 propertiesHide 2 properties
        • scoreRangelist of anyRequired

          The inclusive start and end of the score range this outcome describes, each between 0 and 10, with the start no greater than the end.

        • expectedOutcomestringRequired

          What a response scoring in this range looks like.

      • algorithmenum

        The algorithm the metric is evaluated with. GEVAL scores against criteria or evaluation steps, DAG walks a decision graph, JEVAL asks a decision model bounded questions, PROMPT sends your own judge prompt to the evaluation model, CODE runs your own code, and DEFAULT is a built-in metric.

        Show 6 enum valuesHide 6 enum values
        • DEFAULT
        • DAG
        • GEVAL
        • JEVAL
        • CODE
        • PROMPT
      • dagobject

        The decision graph of a DAG metric. It is validated on write, and metric references are resolved against the metrics in your project.

        Show 1 propertyHide 1 property
        • nodesobjectRequired

          The graph's nodes keyed by node id, as serialized by deepeval's DAG metric. Judgement nodes list their children by id; verdict nodes carry a verdict and a score, or point at another metric by metric_name.

      • questionslist of object | object | object

        The questions a JEVAL metric asks the decision model. Required when algorithm is JEVAL.

        Show 3 variantsHide 3 variants
        • Jev Noul Questionobject

          A question the decision model answers true or false. trueDescription and falseDescription tell it what each answer means.

          Show 5 propertiesHide 5 properties
          • typeenumRequired

            Marks this as a noul question.

            Show 1 enum valueHide 1 enum value
            • noul
          • questionstringRequired

            The question the decision model answers.

          • weightnumber

            How heavily this question counts towards the metric's score, relative to the metric's other questions.

          • trueDescriptionstring

            What a true answer to this question means.

          • falseDescriptionstring

            What a false answer to this question means.

        • OR
        • Jev Score Questionobject

          A question the decision model answers by picking one of levels, which are ordered worst first.

          Show 4 propertiesHide 4 properties
          • typeenumRequired

            Marks this as a score question.

            Show 1 enum valueHide 1 enum value
            • score
          • questionstringRequired

            The question the decision model answers.

          • weightnumber

            How heavily this question counts towards the metric's score, relative to the metric's other questions.

          • levelslist of stringsRequired

            Between 2 and 10 ordered levels, worst first.

        • OR
        • Jev Choice Questionobject

          A question the decision model answers by picking one of options, each carrying the credit that answer earns.

          Show 4 propertiesHide 4 properties
          • typeenumRequired

            Marks this as a choice question.

            Show 1 enum valueHide 1 enum value
            • choice
          • questionstringRequired

            The question the decision model answers.

          • weightnumber

            How heavily this question counts towards the metric's score, relative to the metric's other questions.

          • optionsobjectRequired

            Each option maps to a credit between 0 and 1, or null to mark the question not applicable when that option is likely.

      • promptConfigobject

        The judge prompt of a PROMPT metric, and how its variables are filled. The judge scores from 0 to 10 and the score is normalized to 0 to 1.

        Show 2 propertiesHide 2 properties
        • messageslist of objectsRequired

          The judge prompt, as one or more messages.

          Show 2 propertiesHide 2 properties
          • roleenumRequired

            Who the message is from. A system message is only allowed first.

            Show 3 enum valuesHide 3 enum values
            • system
            • user
            • assistant
          • contentstringRequired

            The message text. Use {{name}} to insert a mapped variable.

        • variablesobjectRequired

          Maps every {{name}} used in the messages to the data it is filled with.

    • labelobject

      A classifier to add to this project, which tags incoming traces, spans or threads with labels. Sending a preset seeds the description, the generation config, and a starting set of labels; any field you send explicitly overrides what the preset would have set.

      Show 25 propertiesHide 25 properties
      • namestringRequired

        The name of the classifier, unique within the project.

      • dataModelenum

        A kind of production item: TRACE is an individual trace, SPAN a span together with the spans under it, THREAD a whole conversation.

        Show 3 enum valuesHide 3 enum values
        • TRACE
        • SPAN
        • THREAD
      • presetenum

        A Confident AI template to seed a classifier from. SENTIMENT arrives with its labels ready; TOPICS, USE_CASES and ISSUES ship with none and expect a generation run next. CUSTOM seeds nothing.

        Show 5 enum valuesHide 5 enum values
        • CUSTOM
        • SENTIMENT
        • TOPICS
        • USE_CASES
        • ISSUES
      • descriptionstring | null

        What this classifier is for. Send null to clear it.

      • traceDescriptionstring | null

        What this classifier is for when it classifies traces, replacing description there. null uses description.

      • spanDescriptionstring | null

        What this classifier is for when it classifies spans, replacing description there. null uses description.

      • threadDescriptionstring | null

        What this classifier is for when it classifies threads, replacing description there. null uses description.

      • enabledboolean

        Whether the classifier runs at all. Defaults to true on create; omit it on an update to leave it unchanged.

      • autoClassifyboolean

        Whether incoming items are classified automatically as they arrive. Defaults to true on create; omit it on an update to leave it unchanged.

      • includeAudioboolean

        Whether the item's call recording and any audio in its inputs and outputs are sent to the classifier alongside the text, so it can catch issues that only show in the audio or in a mismatch between the audio and its transcript. Needs an audio-capable platform model. Defaults to false on create; omit it on an update to leave it unchanged.

      • evaluationModelProviderenum | null

        This is the provider of the model.

        Show 26 enum valuesHide 26 enum values
        • OPEN_AI
        • CUSTOM
        • CONFIDENT_AI
        • BEDROCK
        • ANTHROPIC
        • GEMINI
        • X_AI
        • DEEPSEEK
        • MOONSHOT_AI
        • VERTEX_AI
        • AZURE
        • MISTRAL
        • PERPLEXITY
        • OPEN_ROUTER
        • PORTKEY
        • LITE_LLM
        • TRUE_FOUNDRY
        • HUGGING_FACE
        • TYPE_SAFE
        • FAL
        • Z_AI
        • DEEPGRAM
        • ASSEMBLY_AI
        • ELEVEN_LABS
        • CARTESIA
        • HUME
      • evaluationModelNamestring | null

        The name of the model this classifier runs with in place of the project's platform model. Required whenever evaluationModelProvider is set to anything other than CONFIDENT_AI, and has no effect without a provider.

      • evaluationModelCredentialIdstring | null

        For BEDROCK and AZURE, the id of the stored credential this classifier runs with. Omit it or send null to use the provider's default credential.

      • decisionModelProviderenum | null

        This is the provider of the model.

        Show 26 enum valuesHide 26 enum values
        • OPEN_AI
        • CUSTOM
        • CONFIDENT_AI
        • BEDROCK
        • ANTHROPIC
        • GEMINI
        • X_AI
        • DEEPSEEK
        • MOONSHOT_AI
        • VERTEX_AI
        • AZURE
        • MISTRAL
        • PERPLEXITY
        • OPEN_ROUTER
        • PORTKEY
        • LITE_LLM
        • TRUE_FOUNDRY
        • HUGGING_FACE
        • TYPE_SAFE
        • FAL
        • Z_AI
        • DEEPGRAM
        • ASSEMBLY_AI
        • ELEVEN_LABS
        • CARTESIA
        • HUME
      • decisionModelNamestring | null

        The name of the decision model this classifier picks labels with in the DECISION eval mode. Required whenever decisionModelProvider is set, and has no effect without a provider.

      • evalModeenum | null

        How a classifier picks a label: LLM has the evaluation model classify, and DECISION has the decision model pick from the labels.

        Show 2 enum valuesHide 2 enum values
        • LLM
        • DECISION
      • audioModelProviderenum | null

        This is the provider of the model.

        Show 26 enum valuesHide 26 enum values
        • OPEN_AI
        • CUSTOM
        • CONFIDENT_AI
        • BEDROCK
        • ANTHROPIC
        • GEMINI
        • X_AI
        • DEEPSEEK
        • MOONSHOT_AI
        • VERTEX_AI
        • AZURE
        • MISTRAL
        • PERPLEXITY
        • OPEN_ROUTER
        • PORTKEY
        • LITE_LLM
        • TRUE_FOUNDRY
        • HUGGING_FACE
        • TYPE_SAFE
        • FAL
        • Z_AI
        • DEEPGRAM
        • ASSEMBLY_AI
        • ELEVEN_LABS
        • CARTESIA
        • HUME
      • audioModelNamestring | null

        The name of the audio-capable model that listens. Required whenever audioModelProvider is set to anything other than CONFIDENT_AI.

      • audioModelCredentialIdstring | null

        The id of the stored credential the audio model runs with. Omit it or send null to use the provider's default credential.

      • suggestModelProviderenum | null

        This is the provider of the model.

        Show 26 enum valuesHide 26 enum values
        • OPEN_AI
        • CUSTOM
        • CONFIDENT_AI
        • BEDROCK
        • ANTHROPIC
        • GEMINI
        • X_AI
        • DEEPSEEK
        • MOONSHOT_AI
        • VERTEX_AI
        • AZURE
        • MISTRAL
        • PERPLEXITY
        • OPEN_ROUTER
        • PORTKEY
        • LITE_LLM
        • TRUE_FOUNDRY
        • HUGGING_FACE
        • TYPE_SAFE
        • FAL
        • Z_AI
        • DEEPGRAM
        • ASSEMBLY_AI
        • ELEVEN_LABS
        • CARTESIA
        • HUME
      • suggestModelNamestring | null

        The name of the model that suggests new labels. Required whenever suggestModelProvider is set to anything other than CONFIDENT_AI.

      • suggestModelCredentialIdstring | null

        The id of the stored credential the suggest model runs with. Omit it or send null to use the provider's default credential.

      • issueThresholdnumber | null

        For an issue classifier, the confidence from 0 to 1 a label needs to be kept; every label at or above it is kept. Send null to use the default.

      • filtersobject | null

        A set of filter groups combined by a top-level operator. Each group combines its filter rows by its own operator, and each row matches one property, such as Name or User Id, against a value with a condition such as Is or Contains.

        Show 2 propertiesHide 2 properties
        • operatorenumRequired

          How the groups combine: AND matches a record only when every group matches it, and OR matches it when any one group does.

          Show 2 enum valuesHide 2 enum values
          • AND
          • OR
        • groupslist of objectsRequired

          The groups of filters to apply, each combining its own filters with its own operator.

          Show 2 propertiesHide 2 properties
          • operatorenumRequired

            Show 2 enum valuesHide 2 enum values
            • AND
            • OR
          • filterslist of objectsRequired

            Show 4 propertiesHide 4 properties
            • categoryenumRequired

              Show 128 enum valuesHide 128 enum values
              • User Id
              • Customer Id
              • Customer Name
              • Thread Id
              • Trace UUID
              • Trace Name
              • Trace Version
              • Trace Status
              • Trace Tags
              • Trace
              • Span UUID
              • Name
              • Span Name
              • Span Type
              • Span Status
              • Metrics Status
              • Error Status
              • Called tool
              • Handed off to
              • Handed off by
              • Nearest parent of type
              • Anywhere under
              • Top level
              • Name
              • Model
              • Provider
              • Integration
              • Level
              • Temperature
              • Top-P
              • Max tokens
              • Reasoning effort
              • Output type
              • Streaming
              • Finish reason
              • Time to first token
              • Cache read tokens
              • Cache write tokens
              • Reasoning tokens
              • Image tokens
              • Input argument
              • Embedder
              • Chunk Size
              • Top-K
              • Hyperparameter
              • Dataset
              • Dataset Name
              • Test Run ID
              • Identifier
              • Test File
              • Status
              • AI connection
              • Voice connection
              • Official
              • Evals Mode
              • Tests Passed
              • Tests Failed
              • Pass Rate
              • Fail Rate
              • Star Rating
              • Thumbs Rating
              • Explanation
              • Expected Output
              • Expected Outcome
              • Annotator
              • End User
              • Annotation Type
              • Annotation Name
              • Annotation Date
              • Annotation Rating
              • Annotation Thumbs
              • Annotation Choice
              • Annotation Yes / No
              • Annotation Text
              • Metric Score
              • Metric Status
              • Metric Version
              • Name
              • Metadata
              • Classifier
              • Classifier Version
              • Metric
              • Metric Name
              • Trace Count
              • Call Duration
              • Call Audio
              • Test Case ID
              • Requested review from
              • Assigned to
              • Queue Item Status
              • Added at
              • Tags
              • Labels
              • Tools Called
              • Finalized
              • Golden ID
              • Ingestion Task
              • Latency
              • Environment
              • Review flag
              • Annotation Queue
              • Vulnerability
              • Vulnerability Type
              • Attack Method
              • Risk Category
              • Framework
              • Assessment ID
              • Prompt Alias
              • Prompt Version
              • Prompt Label
              • Prompt Commit Hash
              • Prompt
              • Annotations
              • Failure Mode
              • Recommended
              • Source Queue
              • Sub-mode Name
              • Sub-mode Recommended
              • Sub-mode Certainty
              • Eval
              • Eval Type
              • Expected Label
              • Actual Label
              • Eval Score
              • Note
              • User
              • Status Code
              • Actor Type
            • conditionenum | enum | enum | enum | enum | enum | enum | enum | enum | enumRequired

            • valuestring | number | list of strings

              The value to compare against. Omitted only for Is empty and Is not empty, which take none.

            • keystring

      • autoGenerationConfigobject | null

        How many recent traces, spans or threads a generation run samples and classifies.

        Show 2 propertiesHide 2 properties
        • dataModelenum

          A kind of production item: TRACE is an individual trace, SPAN a span together with the spans under it, THREAD a whole conversation.

          Show 3 enum valuesHide 3 enum values
          • TRACE
          • SPAN
          • THREAD
        • sampleSizeinteger

          How many traces, spans or threads to sample. Defaults to 200.

Response

  • successboolean

    Indicates if the request was successful.

  • dataobject

    Show 2 propertiesHide 2 properties
    • evaluatorslist of object | object

      The evaluators that were created.

      Show 2 variantsHide 2 variants
      • Score Evaluatorobject

        An evaluator that scores from 0 to 1.

        Show 12 propertiesHide 12 properties
        • idstring

          This is the unique id of the metric.

        • outputenum

          What the evaluator returns.

          Show 1 enum valueHide 1 enum value
          • score
        • namestring

          This is the name of the metric, unique within your project.

        • algorithmenum | null

          The algorithm the metric is evaluated with. GEVAL scores against criteria or evaluation steps, DAG walks a decision graph, JEVAL asks a decision model bounded questions, PROMPT sends your own judge prompt to the evaluation model, CODE runs your own code, and DEFAULT is a built-in metric.

          Show 6 enum valuesHide 6 enum values
          • DEFAULT
          • DAG
          • GEVAL
          • JEVAL
          • CODE
          • PROMPT
        • criteriastring | null

          This is the criteria the metric scores against, or null when it uses evaluation steps.

        • evaluationStepsarray | null

          These are the steps the metric follows to score, or null when it uses criteria.

        • rubricarray | null

          These are the score ranges that anchor how the metric scores, or null.

          Show 2 propertiesHide 2 properties
          • scoreRangelist of any

            The inclusive start and end of the score range this outcome describes, each between 0 and 10, with the start no greater than the end.

          • expectedOutcomestring

            What a response scoring in this range looks like.

        • dagobject | null

          The decision graph of a DAG metric. It is validated on write, and metric references are resolved against the metrics in your project.

          Show 1 propertyHide 1 property
          • nodesobject

            The graph's nodes keyed by node id, as serialized by deepeval's DAG metric. Judgement nodes list their children by id; verdict nodes carry a verdict and a score, or point at another metric by metric_name.

        • questionslist of object | object | object | null

          Show 3 variantsHide 3 variants
          • Jev Noul Questionobject

            A question the decision model answers true or false. trueDescription and falseDescription tell it what each answer means.

            Show 5 propertiesHide 5 properties
            • typeenum

              Marks this as a noul question.

              Show 1 enum valueHide 1 enum value
              • noul
            • questionstring

              The question the decision model answers.

            • weightnumber

              How heavily this question counts towards the metric's score, relative to the metric's other questions.

            • trueDescriptionstring

              What a true answer to this question means.

            • falseDescriptionstring

              What a false answer to this question means.

          • OR
          • Jev Score Questionobject

            A question the decision model answers by picking one of levels, which are ordered worst first.

            Show 4 propertiesHide 4 properties
            • typeenum

              Marks this as a score question.

              Show 1 enum valueHide 1 enum value
              • score
            • questionstring

              The question the decision model answers.

            • weightnumber

              How heavily this question counts towards the metric's score, relative to the metric's other questions.

            • levelslist of strings

              Between 2 and 10 ordered levels, worst first.

          • OR
          • Jev Choice Questionobject

            A question the decision model answers by picking one of options, each carrying the credit that answer earns.

            Show 4 propertiesHide 4 properties
            • typeenum

              Marks this as a choice question.

              Show 1 enum valueHide 1 enum value
              • choice
            • questionstring

              The question the decision model answers.

            • weightnumber

              How heavily this question counts towards the metric's score, relative to the metric's other questions.

            • optionsobject

              Each option maps to a credit between 0 and 1, or null to mark the question not applicable when that option is likely.

        • promptConfigobject | null

          The judge prompt of a PROMPT metric, and how its variables are filled. The judge scores from 0 to 10 and the score is normalized to 0 to 1.

          Show 2 propertiesHide 2 properties
          • messageslist of objects

            The judge prompt, as one or more messages.

            Show 2 propertiesHide 2 properties
            • roleenum

              Who the message is from. A system message is only allowed first.

              Show 3 enum valuesHide 3 enum values
              • system
              • user
              • assistant
            • contentstring

              The message text. Use {{name}} to insert a mapped variable.

          • variablesobject

            Maps every {{name}} used in the messages to the data it is filled with.

        • multiTurnboolean

          This is true when the metric evaluates conversations rather than single test cases.

        • requiredParameterslist of enums

          The test case fields the metric needs to run.

          Show 15 enum valuesHide 15 enum values
          • input
          • actualOutput
          • expectedOutput
          • context
          • expectedTools
          • content
          • role
          • scenario
          • expectedOutcome
          • audio
          • turns
          • toolsCalled
          • retrievalContext
          • metadata
          • tags
      • OR
      • Label Evaluatorobject

        An evaluator that tags with one of its labels.

        Show 27 propertiesHide 27 properties
        • idstring

          The id of the classifier, generated by Confident AI.

        • outputenum

          What the evaluator returns.

          Show 1 enum valueHide 1 enum value
          • label
        • namestring

          The name of the classifier.

        • descriptionstring | null

          What this classifier is for, or null when it has no description.

        • traceDescriptionstring | null

          What this classifier is for when it classifies traces, replacing description there. null uses description.

        • spanDescriptionstring | null

          What this classifier is for when it classifies spans, replacing description there. null uses description.

        • threadDescriptionstring | null

          What this classifier is for when it classifies threads, replacing description there. null uses description.

        • enabledboolean

          Whether the classifier runs at all.

        • autoClassifyboolean

          Whether incoming items are classified automatically as they arrive.

        • includeAudioboolean

          Whether the item's call recording and any audio in its inputs and outputs are sent to the classifier alongside the text.

        • evaluationModelProviderenum | null

          This is the provider of the model.

          Show 26 enum valuesHide 26 enum values
          • OPEN_AI
          • CUSTOM
          • CONFIDENT_AI
          • BEDROCK
          • ANTHROPIC
          • GEMINI
          • X_AI
          • DEEPSEEK
          • MOONSHOT_AI
          • VERTEX_AI
          • AZURE
          • MISTRAL
          • PERPLEXITY
          • OPEN_ROUTER
          • PORTKEY
          • LITE_LLM
          • TRUE_FOUNDRY
          • HUGGING_FACE
          • TYPE_SAFE
          • FAL
          • Z_AI
          • DEEPGRAM
          • ASSEMBLY_AI
          • ELEVEN_LABS
          • CARTESIA
          • HUME
        • evaluationModelNamestring | null

          The name of the model this classifier runs with, or null when the project's platform model is used.

        • evaluationModelCredentialIdstring | null

          For BEDROCK and AZURE, the id of the stored credential this classifier runs with, or null when it uses the provider's default credential.

        • decisionModelProviderenum | null

          This is the provider of the model.

          Show 26 enum valuesHide 26 enum values
          • OPEN_AI
          • CUSTOM
          • CONFIDENT_AI
          • BEDROCK
          • ANTHROPIC
          • GEMINI
          • X_AI
          • DEEPSEEK
          • MOONSHOT_AI
          • VERTEX_AI
          • AZURE
          • MISTRAL
          • PERPLEXITY
          • OPEN_ROUTER
          • PORTKEY
          • LITE_LLM
          • TRUE_FOUNDRY
          • HUGGING_FACE
          • TYPE_SAFE
          • FAL
          • Z_AI
          • DEEPGRAM
          • ASSEMBLY_AI
          • ELEVEN_LABS
          • CARTESIA
          • HUME
        • decisionModelNamestring | null

          The name of the decision model this classifier picks labels with, or null when the project's default decision model is used.

        • evalModeenum | null

          How a classifier picks a label: LLM has the evaluation model classify, and DECISION has the decision model pick from the labels.

          Show 2 enum valuesHide 2 enum values
          • LLM
          • DECISION
        • audioModelProviderenum | null

          This is the provider of the model.

          Show 26 enum valuesHide 26 enum values
          • OPEN_AI
          • CUSTOM
          • CONFIDENT_AI
          • BEDROCK
          • ANTHROPIC
          • GEMINI
          • X_AI
          • DEEPSEEK
          • MOONSHOT_AI
          • VERTEX_AI
          • AZURE
          • MISTRAL
          • PERPLEXITY
          • OPEN_ROUTER
          • PORTKEY
          • LITE_LLM
          • TRUE_FOUNDRY
          • HUGGING_FACE
          • TYPE_SAFE
          • FAL
          • Z_AI
          • DEEPGRAM
          • ASSEMBLY_AI
          • ELEVEN_LABS
          • CARTESIA
          • HUME
        • audioModelNamestring | null

          The name of the model that listens to the audio, or null when the default listens.

        • audioModelCredentialIdstring | null

          The id of the stored credential the audio model runs with, or null when it uses the provider's default credential.

        • suggestModelProviderenum | null

          This is the provider of the model.

          Show 26 enum valuesHide 26 enum values
          • OPEN_AI
          • CUSTOM
          • CONFIDENT_AI
          • BEDROCK
          • ANTHROPIC
          • GEMINI
          • X_AI
          • DEEPSEEK
          • MOONSHOT_AI
          • VERTEX_AI
          • AZURE
          • MISTRAL
          • PERPLEXITY
          • OPEN_ROUTER
          • PORTKEY
          • LITE_LLM
          • TRUE_FOUNDRY
          • HUGGING_FACE
          • TYPE_SAFE
          • FAL
          • Z_AI
          • DEEPGRAM
          • ASSEMBLY_AI
          • ELEVEN_LABS
          • CARTESIA
          • HUME
        • suggestModelNamestring | null

          The name of the model that suggests new labels, or null when the evaluation model suggests.

        • suggestModelCredentialIdstring | null

          The id of the stored credential the suggest model runs with, or null when it uses the provider's default credential.

        • issueThresholdnumber | null

          The confidence an issue classifier's label needs to be kept, or null when the default applies.

        • dataModelenum | null

          A kind of production item: TRACE is an individual trace, SPAN a span together with the spans under it, THREAD a whole conversation.

          Show 3 enum valuesHide 3 enum values
          • TRACE
          • SPAN
          • THREAD
        • filtersobject

          A set of filter groups combined by a top-level operator. Each group combines its filter rows by its own operator, and each row matches one property, such as Name or User Id, against a value with a condition such as Is or Contains.

          Show 2 propertiesHide 2 properties
          • operatorenum

            How the groups combine: AND matches a record only when every group matches it, and OR matches it when any one group does.

            Show 2 enum valuesHide 2 enum values
            • AND
            • OR
          • groupslist of objects

            The groups of filters to apply, each combining its own filters with its own operator.

            Show 2 propertiesHide 2 properties
            • operatorenum

              Show 2 enum valuesHide 2 enum values
              • AND
              • OR
            • filterslist of objects

        • autoGenerationConfigobject | null

          How many recent traces, spans or threads a generation run samples and classifies.

          Show 2 propertiesHide 2 properties
          • dataModelenum

            A kind of production item: TRACE is an individual trace, SPAN a span together with the spans under it, THREAD a whole conversation.

            Show 3 enum valuesHide 3 enum values
            • TRACE
            • SPAN
            • THREAD
          • sampleSizeinteger

            How many traces, spans or threads to sample. Defaults to 200.

        • labelslist of objects

          The labels this classifier can apply.

          Show 7 propertiesHide 7 properties
          • idstring

            The id of the label, generated by Confident AI.

          • namestring

            The name of the label, unique within the classifier.

          • descriptionstring

            When this label applies. This is the instruction the classifying model reads, so it states the condition rather than restating the name.

          • enabledboolean

            Whether the label can be applied.

          • statusenum

            ACTIVE labels are in use; RECOMMENDED ones are generated suggestions awaiting review.

            Show 2 enum valuesHide 2 enum values
            • RECOMMENDED
            • ACTIVE
          • polarityenum

            Whether more of a signal is good, bad, or neither, for trend reporting.

            Show 3 enum valuesHide 3 enum values
            • HIGHER_IS_BETTER
            • LOWER_IS_BETTER
            • NEUTRAL
          • dataModelslist of enums

            The data models this label can be applied on. A classifier running on a data model only offers the labels that list it.

            Show 3 enum valuesHide 3 enum values
            • TRACE
            • SPAN
            • THREAD
    • skippedlist of objects

      The evaluators that were not created.

      Show 3 propertiesHide 3 properties
      • outputenum

        What the evaluator returns. A score evaluator scores each trace, span or thread from 0 to 1 (a metric); a label evaluator tags it with one of its labels (a classifier).

        Show 2 enum valuesHide 2 enum values
        • score
        • label
      • namestring

        The name of the evaluator that was not created.

      • errorstring

        Why the evaluator was not created.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI