Launch Week 02 wrapped — explore all five launches

List Classifiers

GEThttps://api.confident-ai.com/v2/classifiers

Lists the classifiers in your Confident AI project one page at a time, ordered by name. Each is returned as a summary row — enough to pick one; retrieve a classifier by id for its filters, generation config, and labels. Requires the Starter plan or above.

GET/v2/classifiers
curl -X GET "https://api.confident-ai.com/v2/classifiers" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"
200
{
  "success": true,
  "data": {
    "classifiers": [
      {
        "id": "<CLASSIFIER-ID>",
        "name": "Sentiment",
        "enabled": true,
        "dataModel": "TRACE"
      }
    ],
    "totalClassifiers": 3,
    "page": 1,
    "pageSize": 25
  },
  "link": "https://app.confident-ai.com/project/<PROJECT-ID>/workflows",
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Query parameters

  • pageintegerdefault: 1

    The page to return. Defaults to 1.

  • pageSizeintegerdefault: 25

    The number of results per page, at most 100. Defaults to 25.

  • dataModelenum

Response

List Classifiers succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    One page of classifiers, with the total across all pages.

    Show 4 propertiesHide 4 properties
    • classifierslist of objects

      The classifiers for the current page, ordered by name.

      Show 4 propertiesHide 4 properties
      • idstring

        The id of the classifier, generated by Confident AI.

      • namestring

        The name of the classifier.

      • enabledboolean

        Whether the classifier runs at all.

      • dataModelenum

        What kind of production item a classifier labels: TRACE labels individual traces, THREAD labels whole conversations. It is fixed when the classifier is created.

        Show 2 enum valuesHide 2 enum values
        • TRACE
        • THREAD
    • totalClassifiersinteger

      The total number of classifiers matching the query across all pages.

    • pageinteger

      The page this response covers.

    • pageSizeinteger

      The number of classifiers per page.

  • linkstring

    This is the URL of the resource on the Confident AI platform.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI