v4

latestOpenAPI 3.0.3Infosysraw.githubusercontent.com2026-08-01101626.0 KB
Infosys Responsible AI - LLM Moderation

Restrictedtopic Model

post/rai/v1/raimoderationmodels/restrictedtopicmodel

Request body

textstring required
modelstring

Example request

{
  "text": "Russia is the biggest country by area.",
  "model": "deberta"
}

Response

Successful Response

{"stackTrail":"paths:/rai/v1/raimoderationmodels/restrictedtopicmodel:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}