classifiers
Moderations
Changed onModerations
post/v1/moderations
Request
- Base URLhttps://api.mistral.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"model": "mistral-moderation-latest"
}Response
Successful Response
Example response
{
"id": "mod-e5cc70bb28c444948073e77776eb30ef"
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the new optional request property
- info