Quality Control API
Download OpenAPI DocumentAutomated checks on video, audio and text before delivery.
Check images, text, audio and video against the rules of the markets you publish in, before the content goes out. New here? Read Quality Control for the whole flow, then make your first call with the Quickstart.
Every request
Send your organization API key in the x-api-key header; it starts with uvk_. Create one in the Universe app under Settings → API keys. The key and organization limits count requests over a rolling minute. See Authentication and Rate limits.
A check runs against one or more regions: a market, such as a country, with a pass mark and a set of rules. List regions to see yours, and add rules with Add a rule. Then start a check, for example Check an uploaded image or Check video, with the regions in regionIds.
Checks run in the background: every start call returns a jobId straight away. Poll Get a check until status is succeeded or failed. A finished check leaves a decision with a verdict of APPROVED, REVIEW or BLOCKED. Flagged decisions wait in the review queue for a person to rule on.
Your organization also limits how many checks of each kind it can start per minute (see Get settings); over that limit a start call returns 429. Endpoints that charge credits say so on their page, with the current price; without enough credits they return 402 and nothing is created. See Credits.
Checks
Start a check on an image, text, audio or video, then poll it until it finishes. Every start call is charged and returns a jobId straight away.
- POST/v1/galaxy/quality-control/classification/upload/presign
- POST/v1/galaxy/quality-control/classification/classify
- POST/v1/galaxy/quality-control/classification/classify-upload
- POST/v1/galaxy/quality-control/classification/classify-text
- POST/v1/galaxy/quality-control/classification/classify-audio
- POST/v1/galaxy/quality-control/classification/classify-video
- POST/v1/galaxy/quality-control/classification/classify-asset
- GET/v1/galaxy/quality-control/classification/jobs/{id}
- PATCH/v1/galaxy/quality-control/classification/jobs/{id}/project
- POST/v1/galaxy/quality-control/classification/classify-text/word-count
Get an upload URL
Check an image from a URL
Check an uploaded image
Check text
Check audio
Check video
Check a file from your assets
Get a check
Move a check to a project
Count billable words
Decisions
The outcome of every finished check: the verdict, a score for each region and rule, and the reasons. Fetch the checked media with short-lived links.
- GET/v1/galaxy/quality-control/classification/decisions
- GET/v1/galaxy/quality-control/classification/decisions/{id}
- GET/v1/galaxy/quality-control/classification/decisions/{id}/image
- GET/v1/galaxy/quality-control/classification/decisions/{id}/media
- GET/v1/galaxy/quality-control/classification/decisions/{id}/frames
List decisions
Get a decision
Get a decision image
Get decision media
List video frames
Image fixes
Make an edited version of a flagged image that addresses one region's concerns. A fix runs in the background; poll it for the new image.
Fix an image
Get an image fix
List image fixes
Regions
A region is a market or audience, such as a country, with a pass mark from 0 to 100. Content is checked against the regions you name when you start a check.
List regions
Create a region
Get a region
Update a region
Rules
The rules of a region say what content must not show or say there. Each rule has a severity, which sets its weight in the region score, and the kinds of content it applies to. The AI can suggest rules for you to review.
List rules
Add a rule
Update a rule
Suggest rules with AI
Settings
Organization-wide settings for checks: the default AI provider, the NSFW block threshold and how many checks of each kind can start per minute.
Get settings
Review
Decisions with a REVIEW or BLOCKED verdict wait here for a person. A ruling is stored next to the model's verdict and does not replace it.