⏺️Detoxify endpoints
Detoxify endpoints
POST endpoint reference
This endpoint predicts the Detoxify categories of text.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
callback_urlstring · uri · min: 1 · max: 2083Optional
textstring · max: 262144Required
modelall ofOptionalDefault:
multilingualstring · enumOptionalPossible values:
An enumeration.
correlation_idstring · max: 128Optional
Responses
200
Successful Response
application/json
404
Not found
422
Validation Error
application/json
post
/detoxify/text/GET endpoint reference
This endpoint returns the results of a previously queued classify job
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
job_idstring · uuid4Required
Responses
200
Successful Response
application/json
404
Not found
422
Validation Error
application/json
get
/detoxify/text/{job_id}Last updated
Was this helpful?
