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
One decision in full: every rule score with the reason for it, findings no rule covers, the transcript for audio and video, what it cost and any reviewer ruling.
Permission: quality_control.classification:read. An API key acts with the role of the member who created it.
Path Parameters
Decision ID: result.decisionId of a finished check, or decisionId from List decisions.
Responses
200The decision.
ID of the decision.
Internal ID of the stored request behind the decision.
What was checked.
The model's verdict.
Overall score from 0 to 100, or null.
True when part of the check could not run.
Why the check is degraded. Empty when degraded is false.
Credits the check cost, after refunds and adjustments.
Credits given back because the check failed on our side.
Credits moved when the price was corrected after the check, in either direction.
Raw NSFW screen results. Usually empty: read nsfw instead.
NSFW screen result; null when it did not run.
Show child attributes
Whether the NSFW screen ran.
Whether the content scored at or above threshold and was blocked. A blocked image is not checked against your regions.
NSFW score from 0 to 100; higher is more explicit.
Model provider that ran the screen.
Score at or above which content is blocked: nsfwBlockThreshold from your settings.
Full result per region, with every rule score.
Show child attributes
ID of the region.
Name of the region.
Region score from 0 to 100, weighted by rule severity.
The region's pass mark (threshold) when the check ran.
Verdict for this region: APPROVED, REVIEW or BLOCKED.
The model's summary of the check.
Score of each of the region's rules that applies to this content type.
Show child attributes
ID of the rule.
Title of the rule.
Severity of the rule: low, med or high.
How well the content meets the rule, from 0 to 100. 100 means fully compliant.
Why the model gave this score.
Problems the model found that no rule covers.
Show child attributes
Short name of the problem.
How serious it is: low, med or high.
Compliance score for this finding, from 0 to 100.
Why the model raised it.
A rule description you could add to the region so future checks look for this. Empty when there is none.
The model's summary of the check. Empty when there is none.
Transcript of the speech for audio and video, or null.
The image URL you checked with Check an image from a URL, or null.
The text you checked, for text decisions. Null otherwise.
For video, which parts were checked: video, audio or both. both for other content.
The reviewer's ruling, or null.
Show child attributes
approve overrides the verdict and accepts the content; reject confirms it is not acceptable.
The reviewer's notes, or null.
ID of the member who made the latest ruling.
When the decision was first ruled on (ISO 8601). Changing the ruling later does not change it.
When the decision was recorded (ISO 8601).
400Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
403Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
404No decision with this `id` in your organization, or it was deleted (`Decision <id> not found`). Also returned when your role only sees its own checks and someone else started this one.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
curl '{{API_BASE_URL}}/v1/galaxy/quality-control/classification/decisions/8d2e4f6a-1b3c-4d5e-9f7a-2b4c6d8e0f1a' \
--header 'x-api-key: YOUR_API_KEY'{
"decisionId": "8d2e4f6a-1b3c-4d5e-9f7a-2b4c6d8e0f1a",
"requestId": "c4a7e9b2-5d1f-4e3a-8b6c-0d2e4f6a8b1c",
"modality": "image",
"verdict": "REVIEW",
"overallScore": 72.5,
"degraded": false,
"degradedReasons": [],
"credits": 150,
"creditsRefunded": 0,
"creditsAdjusted": 0,
"nsfwResults": [],
"nsfw": {
"ran": true,
"blocked": false,
"score": 3.2,
"provider": "marqo",
"threshold": 95
},
"regions": [
{
"region_id": "5b8d1f3a-2c4e-4a6b-8d0f-3e5a7c9b1d2f",
"region_name": "Saudi Arabia",
"region_score": 72.5,
"threshold": 95,
"verdict": "REVIEW",
"summary": "Mostly suitable; one alcohol reference needs a change.",
"per_rule": [
{
"rule_id": "9e1a3c5b-7d2f-4b4a-9c6e-8f0a2b4d6c8e",
"title": "No alcohol shown",
"severity": "high",
"score": 20,
"rationale": "A glass of beer is visible in the foreground."
}
],
"additional_findings": [
{
"title": "Left-hand gesture",
"severity": "med",
"score": 60,
"rationale": "The model offers food with the left hand.",
"suggested_rule_description": "Do not show food or gifts being offered with the left hand."
}
]
}
],
"summary": "Mostly suitable; one alcohol reference needs a change.",
"transcript": null,
"contentUrl": "https://cdn.example.com/campaigns/summer-banner.png",
"sourceText": null,
"scope": "both",
"adjudication": {
"action": "approve",
"notes": "Beer brand is a licensed partner in this market.",
"fk_memberId": "1c3e5a7b-9d2f-4a4c-8e6b-0f2d4a6c8e0b",
"createdAt": "2026-10-04T09:30:00.000Z"
},
"createdAt": "2026-10-04T09:30:00.000Z"
}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.