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.
curl -X GET "https://api.confident-ai.com/v2/classifiers" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"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_KEYstringRequiredThe API key of your Confident AI project.
Query parameters
pageintegerdefault: 1The page to return. Defaults to 1.
pageSizeintegerdefault: 25The number of results per page, at most 100. Defaults to 25.
dataModelenum
Response
List Classifiers succeeded.
successbooleanIndicates if the request was successful.
dataobjectOne page of classifiers, with the total across all pages.
Show 4 propertiesHide 4 properties
classifierslist of objectsThe classifiers for the current page, ordered by name.
Show 4 propertiesHide 4 properties
idstringThe id of the classifier, generated by Confident AI.
namestringThe name of the classifier.
enabledbooleanWhether the classifier runs at all.
dataModelenumWhat 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
TRACETHREAD
totalClassifiersintegerThe total number of classifiers matching the query across all pages.
pageintegerThe page this response covers.
pageSizeintegerThe number of classifiers per page.
linkstringThis is the URL of the resource on the Confident AI platform.
deprecatedbooleanIndicates if this endpoint is deprecated.