Create a moderation job
This endpoint creates a moderation job that applies a moderation rule to a selected set of videos. The job starts a separate moderation workflow for each selected media item. You can use the job endpoints to track progress and retrieve results.
How it works
-
Send a POST request with a
name, theruleIdof the rule to apply, and avideoSource. -
Set
videoSource.typeto specify which videos to moderate:specific: Moderate the videos listed invideoIds.tags: Moderate all media associated with the specifiedtags.all: Moderate all media in your account.
-
Set
scanNewUploadstotrueto also moderate media uploaded after the job is created. -
The response returns the
idof the created job, which you use to track progress and fetch results.
Example
A platform applies its “strict” moderation rule to all videos tagged user-generated and sets scanNewUploads to true. The job also moderates newly uploaded videos that match the configured source.
Authentication
FastPix APIs are secured with Basic Authentication. Use your Access Token ID as the username and Secret Key as the password in the Authorization header of each API request.
- Username: Access Token ID
- Password: Secret Key
Activate your FastPix account to generate your API credentials. See the guide here
Request
A human-readable name for the job.
Where a job pulls its videos from. tags applies only when type is tags; videoIds applies only when type is specific; for all, both are ignored.