Skip to main content
POST
text-classification

Authorizations

Authorization
string
header
required

Set Authorization header to BYTEZ_KEY 'Authorization: YOUR_BYTEZ_KEY_HERE'

Body

application/json

Schema for text-classification models

text
string
required

The input text

Example:

"We are furious with the results of the experiment!"

Response

Successful text-classification response.

error
string | null
required

Null on success; otherwise an error message.

output
array
required

Successful response with the classification

Example: