Check a text, or a picture among the project's files, for the usual harms
post/safety/check
Check a text, or a picture among the project's files, for the usual harms: whether it is flagged, the categories, a recommendation (allow, hold for review, block and report) and the model that decided. Nothing checked is kept.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
compliance:read- Mcp
rivier_safety_check- Graphql
Query.complianceSafetyCheck- Sdk
compliance.safety.check- Cli
compliance safety check
Request bodyapplication/json, required
- textstringAt most 12000 characters.
- assetIdstring (uuid)
Responses
- 200application/jsonSuccess
- flaggedbooleanrequired
- categorieslist of stringrequired
- recommendationstringrequired
- classifierstringrequired
- checkedAtstringrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring