Add Rule
Create a new moderation rule to specify actions and conditions for detecting and handling inappropriate content.
Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-docs-flutter-sdk-mark-as-unread.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Body
Unique identifier for the moderation rule.
"moderation-test"
Descriptive name for the moderation rule.
"Video Moderation"
Indicates whether the rule is active.
true
Detailed explanation of the rule's purpose.
"AI-powered video moderation to detect unsafe content."
Actions to be taken when a violation is detected.
List of filters to apply
- Option 1
- Option 2
List of conditions that must be met for the rule to trigger.
Response
Created Rule