v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01228315499.3 KB
classifier

Updates the Classifier with the given ID.

patch/classifier/{classifier_id}

Path parameters

classifier_idinteger required

Request body

namestring nullable

Updated name of the classifier

Response

Successful Response

project_idinteger required

ID of the project this classifier belongs to

namestring required

Name of the classifier

base_modelstring required

Name of the base model

type'document' | 'sentence' | 'span' required
pathstring required

Name of the classifier

labelid2classidobject required

Mapping from internal model label id to code/tag id, depending on ClassifierModel.

train_paramsobject required

Training parameters

idinteger required

ID of the Classifier

createdstring date-time required

Creation timestamp of the classifier

updatedstring date-time required

Update timestamp of the classifier

class_idsinteger[] required

List of class IDs the classifier was trained with (tag or code)