Skip to main content
POST
Test a classifier on a sample
This endpoint makes a billed model request with your own credential, so it requires an OAuth token with both classifiers:write and gateway:access. Management keys are not accepted.

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
sample
object
required
classifier
object

A draft to test. Fields not sent come from classifier_id when it is given.

classifier_id
string<uuid>

A saved classifier in this workspace to test, or to label the test with.

Response

The labels the model chose

data
object
required
Last modified on October 28, 2026