Enable video moderation

This endpoint enables moderation features, such as NSFW and profanity filtering, to detect inappropriate content in existing media.

How it works

  1. Make a PATCH request to this endpoint, replacing <mediaId> with the ID of the media you want to update.
  2. Include the moderation object and provide the requried type parameter in the request body to specify the media type (for example, video/audio/av).
  3. The response contains the updated media data, confirming the changes made.

You can use the video.mediaAI.moderation.ready webhook event to track and notify about the detected moderation results.

Use case: This is particularly useful when a user uploads a video and later decides to enable moderation detection without the need to re-upload it.

Related guide: Moderate NSFW & Profanity

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The unique identifier assigned to the media when created. The value must be a valid UUID.

Body Params
moderation
object
Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json