# Introduction to activQC

> What activQC is, the three ways to integrate, and how sandbox and live modes work.

**activQC** by wavbee checks music releases before they reach streaming stores. It inspects metadata, cover artwork, audio files, content matches, AI disclosure, and artist or label names — and when something can be fixed, it asks the uploader a plain question instead of returning a cryptic rejection.

> activQC is currently in testing with wavbee's own releases. We do not use your content to train our own models. The [data processing agreement](https://activqc.wavbee.com/legal/dpa) says how it is handled.

## How activQC works

Every release passes through a deterministic-first check cascade:

1. **Deterministic rules first.** Format gates, check digits (ISRC, UPC), casing, contributor syntax, image dimensions, and audio measurements run in code.
2. **Reading and cross-checking.** Cover artwork text and visuals are checked against release metadata, audio is measured for silence, peaks, and loudness, and tracks are scanned for existing matches and covers.
3. **One verdict, five outcomes.** Every run ends in one of five states:

| Verdict | What it means | What happens next |
|---|---|---|
| `pass` | No blocking issues found. | Ready for your delivery pipeline. |
| `pass_with_warnings` | Non-blocking store recommendations. | Ready to proceed with notes attached. |
| `needs_clarification` | One or more fixable questions need an answer. | The artist answers; only affected checks re-run. |
| `manual_review` | A human needs to look at the evidence. | Routed to your review queue or wavbee's team. |
| `fail` | A hard store requirement was broken. | Returned with the specific fix needed. |

Content matching and derivative detection are best-effort signals for your team and reviewers. activQC never declares a sample rights-free and never guarantees that a store will accept a release.

## Three ways to integrate

You can adopt activQC at the level that fits your stack. Every surface uses the same rulebook, per-tenant `qa_config`, and API keys.

### 1. REST API

Submit release payloads and asset URLs directly from your backend, poll for results or receive signed webhooks, and fetch structured findings and clarification questions.

- Instant pre-submit checks while an artist types: `POST /v1/qc/validate`
- Full release runs: `POST /v1/qc/runs`
- Every endpoint: the [API reference](https://activqc.wavbee.com/docs/api-reference.md), generated from the [OpenAPI spec](https://activqc.wavbee.com/openapi.json)

### 2. Embedded release builder

Drop `<wavbee-release-builder>` into your own artist portal. Your server mints a single-use session token (`POST /v1/embed/sessions`), and the iframe handles live checks, plain-language questions, artwork overlays, and audio fixes inside your domain allowlist.

### 3. Headless Draft API

Keep your own frontend and let activQC manage the draft state, optimistic locking, live validation, and clarification answers through `/v1/release_drafts`.

## Mastering and stems

The same API keys and account also unlock audio mastering (`/v1/mastering/sessions`) and stem splitting (`/v1/mastering/sessions/:id/stems`), so you can offer mastering and stems alongside release QC without a second vendor integration.

## Sandbox vs live mode

Access is by request: [tell us about your releases](https://activqc.wavbee.com/apply), and WAVBEE answers by email. Every accepted account starts in **sandbox** mode with test keys.

| Mode | Key prefix | Behaviour |
|---|---|---|
| Sandbox | `wqc_test_` | Test runs, the full API surface and sandbox webhooks, kept apart from live data. |
| Live | `wqc_live_` | Unlocked after completing the go-live checklist (business details, agreements, how you pay, and approval by WAVBEE). |

Test keys and live keys never share runs, drafts, or webhook deliveries. Ready to run your first check? Continue to the [Quickstart](https://activqc.wavbee.com/docs/quickstart.md).
