Authorization: Bearer ********************{
"input": "string",
"model": "text-moderation-latest"
}curl --location --request POST '/v1/moderations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"input": "string",
"model": "text-moderation-latest"
}'{
"id": "string",
"model": "string",
"results": [
{
"flagged": true,
"categories": {},
"category_scores": {}
}
]
}