Moderation

Available Providers
ProviderModelVersionPriceBilling unit
microsoft-v1.01.0 (per 1000 request)1 request
openai-v3.0.0free-
openaitext-moderation-stablev3.0.00.0 (per 1 token)1 token
openaitext-moderation-007v3.0.00.0 (per 1 token)1 token
openaitext-moderation-latestv3.0.00.0 (per 1 token)1 token
google-v15.0 (per 1000000 char)100 char
Supported Languages
NameValue
Afrikaansaf
Albaniansq
Amharicam
Arabicar
Armenianhy
Assameseas
Azerbaijaniaz
Basqueeu
Belarusianbe
Bengalibn
Bosnianbs
Bretonbr
Bulgarianbg
Catalanca
Central Kurdishckb
Cherokeechr
Chinesezh
Croatianhr
Czechcs
Danishda
Dutchnl
Englishen
Estonianet
Filipinofil
Finnishfi
Frenchfr
Fulahff
Galiciangl
Georgianka
Germande
Gujaratigu
Hausaha
Hebrewhe
Hindihi
Hungarianhu
Icelandicis
Igboig
Indonesianid
Inuktitutiu
Irishga
Italianit
Japaneseja
Kannadakn
Kazakhkk
Khmerkm
Kinyarwandarw
Kirghizky
Konkani (macrolanguage)kok
Koreanko
Laolo
Latvianlv
Lithuanianlt
Luxembourgishlb
Macedonianmk
Malay (macrolanguage)ms
Malayalamml
Maltesemt
Maorimi
Marathimr
Modern Greek (1453-)el
Mongolianmn
Nepali (macrolanguage)ne
Norwegian Bokmålnb
Norwegian Nynorsknn
Oriya (macrolanguage)or
Panjabipa
Pedinso
Persianfa
Polishpl
Portuguesept
Pushtops
Quechuaqu
Romanianro
Russianru
Scottish Gaelicgd
Serbiansr
Sindhisd
Sinhalasi
Slovaksk
Sloveniansl
Southern Sothost
Spanishes
Swahili (macrolanguage)sw
Swedishsv
Tajiktg
Tamilta
Tatartt
Telugute
Thaith
Tigrinyati
Tswanatn
Turkishtr
Turkmentk
Uighurug
Ukrainianuk
Urduur
Uzbekuz
Vietnamesevi
Welshcy
Wolofwo
Xhosaxh
Yorubayo
Zuluzu
Supported Detailed Languages
NameValue
Auto detectionauto-detect

Supported Models

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
Defaults to [object Object]

A dictionnary or a json object to specify specific models to use for some providers.
It can be in the following format: {"google" : "google_model", "ibm": "ibm_model"...}.

providers
array of strings
required

It can be one (ex: 'amazon' or 'google') or multiple provider(s) (ex: 'amazon,microsoft,google') that the data will be redirected to in order to get the processed results.
Providers can also be invoked with specific models (ex: providers: 'amazon/model1, amazon/model2, google/model3')

providers*
fallback_providers
array of strings
length ≤ 5
Defaults to

Providers in this list will be used as fallback if the call to provider in providers parameter fails. To use this feature, you must input only one provider in the providers parameter. but you can put up to 5 fallbacks.

They will be tried in the same order they are input, and it will stop to the first provider who doesn't fail.

Doesn't work with async subfeatures.

fallback_providers
boolean
Defaults to true

Optional : When set to true (default), the response is an object of responses with providers names as keys :
{"google" : { "status": "success", ... }, }
When set to false the response structure is a list of response objects :
[{"status": "success", "provider": "google" ... }, ].

boolean
Defaults to false

Optional : When set to false (default) the structure of the extracted items is list of objects having different attributes :
{'items': [{"attribute_1": "x1","attribute_2": "y2"}, ... ]}
When it is set to true, the response contains an object with each attribute as a list :
{ "attribute_1": ["x1","x2", ...], "attribute_2": [y1, y2, ...]}

boolean
Defaults to true
boolean
Defaults to false

Optional : Shows the original response of the provider.
When set to true, a new attribute original_response will appear in the response object.

string
required
length ≥ 1

Text to analyze

string | null

Language code for the language the input text is written in (eg: en, fr).

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json