Text classification
Inference
Container Text Classification
Classify text input into categories with per-class probabilities.
POST
Text classification
Classify text input into categories with per-class probabilities.
Body
application/json
Routes the request to a specific adapter.
Example:
"(adapter-route)"
Input text to classify, encoded as a string or array of strings. To classify multiple inputs in a single request, pass an array of strings.
Either input or tokens field is required.
Example:
"I love programming."
The tokenized prompt (i.e., input tokens).
Either input or tokens field is required.
Example:
72
Last modified on June 9, 2026