v1.0.0OpenAPI 3.1.1

Quality Control API

Download OpenAPI Document

Automated 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.

Server
{{API_BASE_URL}}
Your API environment
Authentication RequiredApiKeyAuth
Your organization API key (starts with `uvk_`). Create one in the Universe app under Settings → API keys.
x-api-key:
Client Libraries
Shell

Get an upload URL

Check an image from a URL

Check an uploaded image

Auth Required

Upload an image in the file field (multipart/form-data) and check it. Other fields are form fields: send regionIds as a JSON array or a comma-separated list. Or put the image in storage first with Get an upload URL (kind: image) and send its uploadKey instead of file, in a JSON body with the same fields. Returns a jobId straight away; poll Get a check.

Permission: quality_control.classification:create. An API key acts with the role of the member who created it.

Credits: Charged when the check starts, at the image rate. If the NSFW screen blocks the image, the price is lowered to a fifth of the image rate when the check finishes. Refunded in full if the check fails on our side, including when a region in regionIds is not in your organization.

Rate What it covers Price
Image QC Quality-control check of an image. 150 credits per image

Bodyrequiredmultipart/form-data

regionIdsstringrequired

IDs of the regions to check against, from List regions: 1 to 50 UUIDs. In a form, a JSON array or separated by commas; in a JSON body, an array.

Example: ["5b8d1f3a-2c4e-4a6b-8d0f-3e5a7c9b1d2f"]
filestring · binary

The image to check, up to 8 MB. Leave it out when you send uploadKey.

uploadKeystring

Instead of file: the uploadKey from Get an upload URL with kind: image, once the file is in storage. Send it, with the other fields, in a JSON body. It can be used once.

Example: 1f0c…/staged-uploads/7b9e….mp4
culturalProviderstring

AI provider for the region check, for this check only. Defaults to defaultCulturalProvider in your settings.

Enum values:openaianthropicgoogle
Example: anthropic
contextstring

Your own metadata as a JSON object, stored with the decision. Ignored if it is not valid JSON.

Example: {"campaign":"summer-sale-2026"}
projectIdstring · uuid

Project to file this check under; omit for none. See List projects.

Example: 7b9d2f4a-6c8e-4a1b-9d3f-5e7a9c1b3d5f
runNsfwboolean

Run the NSFW screen. Defaults to true; false, 0, no or an empty value turn it off.

Default: trueExample: true
runRegionalboolean

Check against your regions. Defaults to true. At least one of runNsfw and runRegional must be on.

Default: trueExample: true

Responses

201The check was charged and queued. Poll it with Get a check until `status` is `succeeded` or `failed`.
application/json
jobIdstring · uuidrequired

ID of the new check. Poll it with Get a check.

Example: 3f9c2b1e-7a4d-4c6b-9e2f-1a8b7c6d5e4f
statusstringrequired

Always queued: the check is waiting to start.

Enum values:SCHEDULED
Example: SCHEDULED
modalitystringrequired

What is being checked: image, text, audio or video.

Enum values:imagevideoaudiotext
Example: image
400Nothing was charged. A field failed validation, or: - `At least one of runNsfw / runRegional must be enabled.`: both checks were turned off. - `No file uploaded.`: neither the `file` field nor `uploadKey` was sent. - `regionIds is required.`, `regionIds must contain at least one id.`, `regionIds may contain at most 50 ids.` or `regionIds must all be UUID v4.` - `The upload could not be found. Please try uploading the file again.`, `The upload did not complete. Please try uploading the file again.` or `That upload was already used. Please upload the file again.`: `uploadKey` is not a finished, unused upload of your organization. - `That upload isn't a <kind of file> this step takes.`: `uploadKey` was issued for another check. - `Image is <n> bytes, exceeding the <max>-byte limit.`: images can be up to 8 MB.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
402Not enough credits for this check, or your organization owes credits. Nothing was created.
application/json
statusCodenumberrequired

HTTP status code.

Example: 402
errorstringrequired

Always InsufficientCredits.

Example: InsufficientCredits
messagestringrequired

What happened, in plain words.

Example: You don't have enough credits to start this. It needs 120; you have 45.
requirednumberrequired

Credits this request needs.

Example: 120
availablenumberrequired

Credits your organization can spend now.

Example: 45
owednumberrequired

Credits your organization owes from earlier jobs (0 when nothing is owed). While anything is owed, every paid request is refused until it is repaid.

Example: 0
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.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
404`projectId` is not a project in your organization (`Project not found`).
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
413The file is larger than 32 MB (`File too large`).
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
429Your organization's per-minute limit for this kind of check (from Get settings) was reached: `Rate limit exceeded for <kind> (<n>/min). Retry in <s>s.`, with the wait in `retry_after_sec`. Separate from the per-key limit.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
POST/v1/galaxy/quality-control/classification/classify-upload
curl '{{API_BASE_URL}}/v1/galaxy/quality-control/classification/classify-upload' \
  --request POST \
  --header 'x-api-key: YOUR_API_KEY' \
  --form 'file=@file.pdf' \
  --form 'uploadKey=1f0c…/staged-uploads/7b9e….mp4' \
  --form 'regionIds=["5b8d1f3a-2c4e-4a6b-8d0f-3e5a7c9b1d2f"]' \
  --form 'culturalProvider=anthropic' \
  --form 'context={"campaign":"summer-sale-2026"}' \
  --form 'projectId=7b9d2f4a-6c8e-4a1b-9d3f-5e7a9c1b3d5f' \
  --form 'runNsfw=true' \
  --form 'runRegional=true'
{
  "jobId": "3f9c2b1e-7a4d-4c6b-9e2f-1a8b7c6d5e4f",
  "status": "SCHEDULED",
  "modality": "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

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.

List the review queue

Rule on a decision

Models

AdditionalFindingDto
AdjudicateDto
AdjudicationDto
AutoGenerateRulesDto
CheckResponseDto
ClassifyFromAssetDto
ClassifyImageUrlDto
ClassifyResultDto
ClassifyTextDto
CountTextWordsDto
CreateRegionDto
CreateRuleDto
DecisionDetailDto
DecisionFrameDto
DecisionFramesResponseDto
DecisionImageUrlResponseDto
DecisionListResponseDto
DecisionMediaUrlResponseDto
DecisionRegionSummaryDto
DecisionSummaryDto
FixImageDto
ImageFixConcernDto
ImageFixJobResponseDto
ImageFixListResponseDto
ImageFixResultDto
ImageFixSummaryDto
InsufficientCreditsErrorDto
MoveCheckToProjectBodyDto
MoveCheckToProjectResponseDto
MovedProjectDto
NsfwSummaryDto
PerRuleResultDto
QcSettingsResponseDto
QcUploadPresignDto
RegionDto
RegionScoringDto
RegionWithRuleCountDto
ReviewQueueItemDto
ReviewQueueResponseDto
RuleCandidateDto
RuleCandidatesResponseDto
RuleDto
StagedUploadTicketDto
StartCheckResponseDto
StartImageFixResponseDto
TextWordCountResponseDto
UpdateRegionDto
UpdateRuleDto