List Classifiers
GEThttps://api.confident-ai.com/v1/classifiers
Lists the classifiers in your project as summary rows — enough to pick one, not the whole record. 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/v1/classifiers" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"classifiers": [
{
"id": "CLASSIFIER-ID",
"name": "Sentiment",
"enabled": true,
"dataModel": "TRACE"
}
]
},
"link": "https://app.confident-ai.com/project/<PROJECT-ID>/workflows"
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Query parameters
dataModelenumOnly return classifiers for this kind of item. Omit to return all of them.
Response
successbooleanIndicates if the request was successful.
dataobjectShow 1 propertyHide 1 property
classifierslist of objectsThe project's classifiers, as summary rows.
Show 4 propertiesHide 4 properties
idstringThe unique identifier of the classifier.
namestringThe classifier's name.
enabledbooleanWhether the classifier runs at all.
dataModelenumWhat kind of item the classifier classifies.
Show 2 enum valuesHide 2 enum values
TRACETHREAD
linkstringA link to the workflows page.