Assign text to one of the labels you supply - support tickets, intents, topics, spam or not, anything. The returned label is checked against your list, so the model cannot invent a category: an answer outside your labels is rejected rather than passed through. Comes back with a confidence and a one-line reason. Fixed price per call.

Paid per call via x402. Send without payment to get the exact price in the 402.

post/v1/tools/classify-text

Request

  • Base URL: https://agents.dexl.io
  • URL: https://agents.dexl.io/v1/tools/classify-text
  • Auth: API key in header X-Payment

Request body

textstring required
labelsstring[] required

The only categories allowed in the answer.

Response

The tool output

Changes

No recorded changes to this operation across all 1 revision of this API.