Classify Session

Classifies a session.

Path parameters

sessionIdstringRequired

Session ID

Headers

AuthorizationstringRequired

Header authentication of the form Api-Key <token>

Request

This endpoint expects an object.
classeslist of stringsRequired

The classes to use for classification.

namestringRequired

The name of the classifier.

instructionstringOptional

Custom instruction to use for classification.

last_nintegerOptionalDefaults to 4

The number of session messages to consider for classification. Defaults to 4.

persistbooleanOptionalDefaults to true

Deprecated

Response

A response object containing the name and classification result.

classstringOptional
labelstringOptional

Errors