API Reference
chat.video.rejected
Schema
This event is emitted when a video submitted to the chat system is rejected during moderation. The event provides contextual information about the rejected video, including the project that attempted the submission, the profile initiating the action, the video's URL, and the specific reason it was rejected (e.g., violent, self-harm–related, or illegal content).
Type:objectprojectId stringrequiredThe unique identifier for the project from which the rejected video request originated.
Type:stringsourceProfileId stringrequiredIdentifies the profile (such as a user or persona profile) that initiated the video submission. Useful for auditing or tracking user-level actions.
Type:stringreason stringrequiredIndicates the specific moderation failure category that caused the video to be rejected.
| Value | Description |
|---|---|
VIOLENT_CONTENT | The video contains violence or graphic/unsafe violent material. |
SELF_HARM | The video includes self-harm, suicidal content, or related imagery. |
ILLEGAL_CONTENT | The video includes illegal or illicit content prohibited by policy or law. |
stringAllowed values: "VIOLENT_CONTENT", "SELF_HARM", "ILLEGAL_CONTENT"