# QC runs

Send a release for checking, read the verdict and the report, and ask about the rules.

Paths start at `$ACTIVQC_BASE_URL`, and every call sends `Authorization: Bearer $ACTIVQC_KEY`. Errors use the [error envelope](https://activqc.wavbee.com/docs/errors.md). [All endpoints](https://activqc.wavbee.com/docs/api-reference.md).

## POST /v1/qc/assist

Answer what an artist typed about a draft's open question.

For a release builder's chat. Read-only: nothing is created and the release is not changed, so there is no Idempotency-Key. The open question and its options are worked out from `draft` (as `POST /v1/qc/validate` does), never taken from the request. The reply is written by a model and may point to one of those options; the artist chooses. One request is one model call: send it when the artist sends a message, not as they type. What the reply says about the rules is looked up in the engine's rulebook in that same call; `sources` names the documents it drew on, for a reviewer or a log, not for the artist.

**Auth:** a secret key, `Authorization: Bearer $ACTIVQC_KEY`.

#### Request body

`application/json`.

| Field | Type | Description |
|---|---|---|
| `draft` | object | Release submission. The whole body is snapshotted onto the run; `profile` selects the store profile and `config` carries per-run rule overrides (never below the stores' floors). |
| `draft.tier` | integer | One of `1`, `2`, `3`. Default `1`. |
| `draft.profile` | string | Example `apple`. |
| `draft.release` | object | title, version, release_type (worked out from the tracks and their lengths when you leave it out; left unset where a length is missing and the number of tracks does not decide), upc, label_name, release_date, language, `genre` (or `genres`), `artists` and `contributors` ({role, name}), `artwork` ({url} or a builder upload's {upload_id}, optional `ai_generated` — AR20 asks about an undeclared AI-looking cover). The cover and the metadata are read by a model. The builder's fields also go here: metadata_language, various_artists, has_record_label, compilation, previously_released, previous_upc, secondary_genre, description, copyright_{p,c}_{year,owner}, release_asap, pre_order_date, release_time, timezone, stores, territories ({mode, countries}); `contributors` may carry a `group` (performer, producer, writer). |
| `draft.tracks` | array of object | track_number, title, version, isrc, explicit, `duration_s` (its length in seconds; a measured length is used once there is one), `artists`, `contributors`, `audio` ({url}, and a builder upload's `upload_id`), `ai_disclosure` (the AI answers AI2 asks for), `match_declaration` ({work, use, licence, own_recording, heard_same}: the answers CM1-CM3 ask for about a matched recording; `licence` is a document upload's id), `matching_result` (for an account that sends its own matching results: the file object ACRCloud File Scanning answered for this track, or its `{data: [file]}`, finished, at most 2 MB, 20 MB in one request; tier 2 or above, from your server only; its `duration` must agree with the track's to 2 seconds or it is not used; never kept in the run's payload); from the builder also genre, origin, properties, writers ({name, role, share, publisher, iswc}), lyrics, lyrics_language, instrumental, lyrics_lines ([{id, t, text, kind, gap, roman}]) and monetization ([{store, policy}]). |
| `draft.config` | object |  |
| `draft.account` | object | The uploading account, keyed by your own account id. Its trust decides whether a clean release goes out at once or is checked by a person first (rule TR1). `trust_score` (0-100) is your own score for this call; a WAVBEE staff override beats it, and it beats the score activQC works out from the account's history. Anything else is a 422. |
| `draft.account.id` | string | **Required.** 1 to 128 characters. Example `artist-8812`. |
| `draft.account.trust_score` | integer | 0 to 100. Example `35`. |
| `draft.account.name` | string | A label for your console, at most 255 characters. Example `Kayal Beats`. |
| `draft.qc_answers` | object | Answers the builder already collected that change nothing, keyed "\<rule_id>:\<release\|track>:\<track_number>" to an option id ("T24:release:" => "as_intended"), or to {id, value} for an option with an input (a licence upload's id). The run answers its matching questions with them, which sends the release to a person. |
| `key` | string or null | The finding the artist is asking about, `<rule>:<release\|track>:<n>`. The question and its options are worked out again from `draft`; a key the draft does not raise is treated as none. Example `P15:release:`. |
| `message` | string | **Required.** What the artist typed. Not blank, at most 500 characters, no control characters other than newline and tab (422 `validation_error` otherwise). |
| `history` | array of object | The chat so far. The last 6 lines are used. A line that is not from `artist` or `assistant`, or is longer than 500 characters, is dropped silently. |
| `history[].from` | string | Example `artist`. |
| `history[].text` | string |  |

#### Example request

```bash
curl -s -X POST "$ACTIVQC_BASE_URL/v1/qc/assist" \
  -H "Authorization: Bearer $ACTIVQC_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "draft": {
    "tier": 1,
    "release": {
      "title": "Monsoon Letters",
      "metadata_language": "English",
      "artists": [
        {
          "role": "primary",
          "name": "Aruvi"
        }
      ],
      "label_name": "Kayal Records",
      "genre": "Indie Pop",
      "copyright_p": "2026 Kayal Records",
      "copyright_c": "2026 Kayal Records",
      "artwork": {
        "url": "https://cdn.example.com/monsoon-letters.jpg"
      }
    },
    "tracks": [
      {
        "track_number": 1,
        "title": "Monsoon Letters",
        "isrc": "INH012600001",
        "explicit": false
      }
    ]
  },
  "key": "P15:release:",
  "message": "string"
}'
```

#### Responses

| Status | Meaning |
|---|---|
| `200` | Answered. |
| `401` | No key. [Error envelope](https://activqc.wavbee.com/docs/errors.md). |
| `422` | The message is blank, too long or has control characters. [Error envelope](https://activqc.wavbee.com/docs/errors.md). |
| `503` | The assistant cannot answer just now. [Error envelope](https://activqc.wavbee.com/docs/errors.md). |

#### Response `200`

| Field | Type | Description |
|---|---|---|
| `object` | string | **Required.** Example `qc.assist`. |
| `sources` | array of string | **Required.** The rulebook documents the reply drew on (ids as `GET /v1/qc/rules/search` returns them), possibly none. For a reviewer or a log: do not show them to the artist. |
| `reply` | string | **Required.** One or two short sentences for the artist, written by a model. |
| `option_id` | string or null | **Required.** One of the open question's own option ids when the reply points to it, else null. A suggestion only: the artist chooses. |
| `key` | string or null | **Required.** The finding the reply is about, or null when there was none. |

```json
{
  "object": "qc.assist",
  "sources": [
    "rule/T24"
  ],
  "reply": "string",
  "option_id": "string",
  "key": "string"
}
```

## POST /v1/qc/conversation

Advance the deterministic builder chat by one turn.

Pure deterministic state machine over the draft's open clarifications (no model call, sub-300 ms target). Orders blockers first, then Release -> Tracks -> Distribution, then highest re-check impact. Returns artist-facing template messages in `en` or `hi`, option chips, and progress.

**Auth:** a secret key, `Authorization: Bearer $ACTIVQC_KEY`.

#### Request body

`application/json`.

| Field | Type | Description |
|---|---|---|
| `draft` | object | Release submission. The whole body is snapshotted onto the run; `profile` selects the store profile and `config` carries per-run rule overrides (never below the stores' floors). |
| `draft.tier` | integer | One of `1`, `2`, `3`. Default `1`. |
| `draft.profile` | string | Example `apple`. |
| `draft.release` | object | title, version, release_type (worked out from the tracks and their lengths when you leave it out; left unset where a length is missing and the number of tracks does not decide), upc, label_name, release_date, language, `genre` (or `genres`), `artists` and `contributors` ({role, name}), `artwork` ({url} or a builder upload's {upload_id}, optional `ai_generated` — AR20 asks about an undeclared AI-looking cover). The cover and the metadata are read by a model. The builder's fields also go here: metadata_language, various_artists, has_record_label, compilation, previously_released, previous_upc, secondary_genre, description, copyright_{p,c}_{year,owner}, release_asap, pre_order_date, release_time, timezone, stores, territories ({mode, countries}); `contributors` may carry a `group` (performer, producer, writer). |
| `draft.tracks` | array of object | track_number, title, version, isrc, explicit, `duration_s` (its length in seconds; a measured length is used once there is one), `artists`, `contributors`, `audio` ({url}, and a builder upload's `upload_id`), `ai_disclosure` (the AI answers AI2 asks for), `match_declaration` ({work, use, licence, own_recording, heard_same}: the answers CM1-CM3 ask for about a matched recording; `licence` is a document upload's id), `matching_result` (for an account that sends its own matching results: the file object ACRCloud File Scanning answered for this track, or its `{data: [file]}`, finished, at most 2 MB, 20 MB in one request; tier 2 or above, from your server only; its `duration` must agree with the track's to 2 seconds or it is not used; never kept in the run's payload); from the builder also genre, origin, properties, writers ({name, role, share, publisher, iswc}), lyrics, lyrics_language, instrumental, lyrics_lines ([{id, t, text, kind, gap, roman}]) and monetization ([{store, policy}]). |
| `draft.config` | object |  |
| `draft.account` | object | The uploading account, keyed by your own account id. Its trust decides whether a clean release goes out at once or is checked by a person first (rule TR1). `trust_score` (0-100) is your own score for this call; a WAVBEE staff override beats it, and it beats the score activQC works out from the account's history. Anything else is a 422. |
| `draft.account.id` | string | **Required.** 1 to 128 characters. Example `artist-8812`. |
| `draft.account.trust_score` | integer | 0 to 100. Example `35`. |
| `draft.account.name` | string | A label for your console, at most 255 characters. Example `Kayal Beats`. |
| `draft.qc_answers` | object | Answers the builder already collected that change nothing, keyed "\<rule_id>:\<release\|track>:\<track_number>" to an option id ("T24:release:" => "as_intended"), or to {id, value} for an option with an input (a licence upload's id). The run answers its matching questions with them, which sends the release to a person. |
| `last_answer` | object or null | The answer the artist just picked, so the next turn starts with a kind acknowledgement. |
| `last_answer.key` | string | Example `T24:release:`. |
| `last_answer.option_id` | string | Example `as_intended`. |
| `last_answer.label` | string | Example `It's correct as it is`. |
| `last_answer.patched` | boolean |  |
| `locale` | string | Language for assistant templates (`en` or `hi`). Anything else returns 422. Example `en`. |
| `started` | boolean | Set true after the initial greeting so it is not repeated. |
| `only` | array of string | Ask only about these questions (their keys), for a builder that has not reached every step yet. |

#### Example request

```bash
curl -s -X POST "$ACTIVQC_BASE_URL/v1/qc/conversation" \
  -H "Authorization: Bearer $ACTIVQC_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "draft": {
    "tier": 1,
    "release": {
      "title": "Monsoon Letters",
      "metadata_language": "English",
      "artists": [
        {
          "role": "primary",
          "name": "Aruvi"
        }
      ],
      "label_name": "Kayal Records",
      "genre": "Indie Pop",
      "copyright_p": "2026 Kayal Records",
      "copyright_c": "2026 Kayal Records",
      "artwork": {
        "url": "https://cdn.example.com/monsoon-letters.jpg"
      }
    },
    "tracks": [
      {
        "track_number": 1,
        "title": "Monsoon Letters",
        "isrc": "INH012600001",
        "explicit": false
      }
    ]
  },
  "locale": "en"
}'
```

#### Responses

| Status | Meaning |
|---|---|
| `200` | Next conversation turn. |
| `401` | No key. [Error envelope](https://activqc.wavbee.com/docs/errors.md). |
| `422` | Unsupported locale. [Error envelope](https://activqc.wavbee.com/docs/errors.md). |

#### Response `200`

| Field | Type | Description |
|---|---|---|
| `object` | string | **Required.** Always `qc.conversation`. |
| `state` | string | **Required.** One of `greet`, `ask`, `acknowledge`, `wrap_up`. |
| `locale` | string | **Required.** One of `en`, `hi`. |
| `messages` | array of object | **Required.** |
| `messages[].kind` | string | **Required.** One of `greet`, `acknowledge`, `question`, `wrap_up`. |
| `messages[].text` | string | **Required.** |
| `messages[].key` | string or null |  |
| `messages[].reason` | string or null |  |
| `messages[].anchor` | string or null |  |
| `messages[].tab` | string or null |  |
| `messages[].track` | integer or null |  |
| `messages[].progress` | string or null |  |
| `messages[].settled` | boolean |  |
| `messages[].can_undo` | boolean |  |
| `current` | object or null | **Required.** |
| `current.key` | string |  |
| `current.anchor` | string or null |  |
| `current.tab` | string |  |
| `current.track` | integer or null |  |
| `current.severity` | string |  |
| `current.blocking` | boolean |  |
| `current.question` | string |  |
| `current.reason` | string |  |
| `current.options` | array of object |  |
| `current.proposed_patch` | object or null |  |
| `current.manual` | boolean |  |
| `progress` | object | **Required.** |
| `progress.remaining` | integer | **Required.** |
| `progress.blockers` | integer | **Required.** |
| `progress.label` | string | **Required.** |
| `summary` | object or null | **Required.** |
| `summary.headline` | string |  |
| `summary.text` | string |  |
| `summary.manual_review_count` | integer |  |
| `summary.warnings_count` | integer |  |

```json
{
  "object": "qc.conversation",
  "state": "greet",
  "locale": "en",
  "messages": [
    {
      "kind": "greet",
      "text": "string",
      "key": "string",
      "reason": "string",
      "anchor": "string",
      "tab": "string",
      "track": 1,
      "progress": "string",
      "settled": false,
      "can_undo": false
    }
  ],
  "current": {
    "key": "string",
    "anchor": "string",
    "tab": "string",
    "track": 1,
    "severity": "string",
    "blocking": false,
    "question": "string",
    "reason": "string",
    "options": [
      {}
    ],
    "proposed_patch": {},
    "manual": false
  },
  "progress": {
    "remaining": 1,
    "blockers": 1,
    "label": "string"
  },
  "summary": {
    "headline": "string",
    "text": "string",
    "manual_review_count": 1,
    "warnings_count": 1
  }
}
```

## POST /v1/qc/imports/wavbee

Turn a wavbee release into a QC run payload.

Send `release` (the JSON wavbee's `GET /api/v1/releases/{id}` returns, pasted) or `release_id` with `wavbee_token` (a wavbee API token, used for this request only and never stored). Returns the payload to submit to `POST /v1/qc/runs`, plus notes on what will not be checked. Creates nothing, so it takes no Idempotency-Key.

**Auth:** a secret key, `Authorization: Bearer $ACTIVQC_KEY`.

#### Request body

`application/json`.

| Field | Type | Description |
|---|---|---|
| `release` | any | The release object, or the same JSON as a string. |
| `release_id` | string |  |
| `wavbee_token` | string |  |

#### Example request

```bash
curl -s -X POST "$ACTIVQC_BASE_URL/v1/qc/imports/wavbee" \
  -H "Authorization: Bearer $ACTIVQC_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

#### Responses

| Status | Meaning |
|---|---|
| `200` | The payload, ready to run. |
| `422` | Not a release, or wavbee refused. [Error envelope](https://activqc.wavbee.com/docs/errors.md). |

#### Response `200`

| Field | Type | Description |
|---|---|---|
| `object` | string | **Required.** Always `qc.import`. |
| `source` | string | **Required.** One of `paste`, `wavbee`. |
| `payload` | object | **Required.** A run_request body: release + tracks, as wavbee holds them. |
| `notes` | array of string | **Required.** What will not be checked, and why. |

```json
{
  "object": "qc.import",
  "source": "paste",
  "payload": {},
  "notes": [
    "string"
  ]
}
```

## PUT /v1/qc/findings/{id}/review

Say whether a QC finding was right.

correct, wrong or unsure, with an optional note. One review per finding per key; sending again replaces it. A wrong flag is a false alarm; a wrong pass is a missed problem.

**Auth:** a secret key, `Authorization: Bearer $ACTIVQC_KEY`.

#### Parameters

| Name | In | Type | Description |
|---|---|---|---|
| `id` | path | integer | **Required.** |

#### Request body

`application/json`.

| Field | Type | Description |
|---|---|---|
| `verdict` | string |  |
| `note` | string |  |

#### Example request

```bash
curl -s -X PUT "$ACTIVQC_BASE_URL/v1/qc/findings/{id}/review" \
  -H "Authorization: Bearer $ACTIVQC_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

#### Responses

| Status | Meaning |
|---|---|
| `200` | Review recorded. |
| `404` | Another tenant's finding. [Error envelope](https://activqc.wavbee.com/docs/errors.md). |
| `422` | Not a verdict. [Error envelope](https://activqc.wavbee.com/docs/errors.md). |

#### Response `200`

| Field | Type | Description |
|---|---|---|
| `object` | string | **Required.** Always `qc.finding_review`. |
| `finding_id` | integer | **Required.** |
| `rule_id` | string | **Required.** |
| `verdict` | string | **Required.** One of `correct`, `wrong`, `unsure`. |
| `note` | string or null |  |
| `reviewer` | string or null |  |
| `updated_at` | string (date-time) | **Required.** |

```json
{
  "object": "qc.finding_review",
  "finding_id": 1,
  "rule_id": "string",
  "verdict": "correct",
  "note": "string",
  "reviewer": "string",
  "updated_at": "2026-11-24T10:00:00Z"
}
```

## GET /v1/qc/accuracy

How often each rule was judged right.

**Auth:** a secret key, `Authorization: Bearer $ACTIVQC_KEY`.

#### Example request

```bash
curl -s "$ACTIVQC_BASE_URL/v1/qc/accuracy" \
  -H "Authorization: Bearer $ACTIVQC_KEY"
```

#### Responses

| Status | Meaning |
|---|---|
| `200` | Per-rule agreement. |

#### Response `200`

| Field | Type | Description |
|---|---|---|
| `object` | string | **Required.** Always `qc.accuracy`. |
| `rules` | array of object | **Required.** Per rule: reviewed, correct, wrong, unsure, false_alarms (wrong on a flagged finding), misses (wrong on a pass), agreement = correct / (correct + wrong). |

```json
{
  "object": "qc.accuracy",
  "rules": [
    {}
  ]
}
```

## GET /v1/qc/rules

Every rule QC runs, in words.

**Auth:** a secret key, `Authorization: Bearer $ACTIVQC_KEY`.

#### Example request

```bash
curl -s "$ACTIVQC_BASE_URL/v1/qc/rules" \
  -H "Authorization: Bearer $ACTIVQC_KEY"
```

#### Responses

| Status | Meaning |
|---|---|
| `200` | The rule catalogue. |

#### Response `200`

| Field | Type | Description |
|---|---|---|
| `object` | string | **Required.** Always `list`. |
| `data` | array of object | **Required.** rule_id, statement, source, check_type, default_severity. |

```json
{
  "object": "list",
  "data": [
    {}
  ]
}
```

## GET /v1/qc/rules/search

Find the rules, policies and decisions that bear on a question.

Searches the rules: every rule the engine runs, every line of the store style-guide research and your own rulebook, one passage each. Where wavbee delivers your releases, wavbee's policies and rulebook are searched too. `GET /v1/qc/rules` lists all the rules; this returns the few that matter to a question, best first. Read-only. No other customer's rulebook is ever searched.

**Auth:** a secret key, `Authorization: Bearer $ACTIVQC_KEY`.

#### Parameters

| Name | In | Type | Description |
|---|---|---|---|
| `q` | query | string | **Required.** What to look for, in words: "can the title say feat.?". At most 300 characters. |
| `kind` | query | string | Only passages of this kind: `rule`, `policy`, `decision`, `style-guide`, `guidance` (what stores generally ask) or `rulebook` (your own documents). Anything else is a 422. Example `rule`. |
| `limit` | query | integer | How many passages at most. Kept between 1 and 20. Default `5`. |

#### Example request

```bash
curl -s "$ACTIVQC_BASE_URL/v1/qc/rules/search?q=Q" \
  -H "Authorization: Bearer $ACTIVQC_KEY"
```

#### Responses

| Status | Meaning |
|---|---|
| `200` | The passages found. |
| `401` | No key. [Error envelope](https://activqc.wavbee.com/docs/errors.md). |
| `422` | Q is missing or too long, or kind is not one of the kinds. [Error envelope](https://activqc.wavbee.com/docs/errors.md). |

#### Response `200`

| Field | Type | Description |
|---|---|---|
| `object` | string | **Required.** Always `qc.rule_search`. |
| `engine` | string | **Required.** Which index answered. `knowledge` is the default; the others are stand-ins. One of `knowledge`, `gemini_file_search`, `local`. |
| `data` | array of object | **Required.** |
| `data[].id` | string | **Required.** The corpus document the passage is from. Example `rule/T4`. |
| `data[].rule_id` | string or null | **Required.** The rule, owner decision (R…) or open question (O…) it is about; null for a policy section. Example `T4`. |
| `data[].kind` | string | **Required.** One of `rule`, `policy`, `decision`, `style-guide`, `catalogue`, `guidance`, `rulebook`. |
| `data[].layer` | string | **Required.** Whose words: the standard rules, what wavbee sets for the releases it delivers (it cannot be changed and comes first where they differ), or your own rulebook. One of `standard`, `wavbee`, `yours`. |
| `data[].text` | string | **Required.** The passage: the document's words, or the part of them that matched. |
| `data[].score` | number or null | **Required.** 0 to 1, higher is closer. Null when the engine gives passages in order and no number. |

```json
{
  "object": "qc.rule_search",
  "engine": "knowledge",
  "data": [
    {
      "id": "rule/T4",
      "rule_id": "T4",
      "kind": "rule",
      "layer": "standard",
      "text": "string",
      "score": 1.0
    }
  ]
}
```

## POST /v1/qc/runs

Submit a release for QC.

**Auth:** a secret key, `Authorization: Bearer $ACTIVQC_KEY`.

Send an `Idempotency-Key` header (a new UUID per operation; a retry reuses it).

#### Parameters

| Name | In | Type | Description |
|---|---|---|---|
| `Idempotency-Key` | header | string | **Required.** A unique string per operation, for example a UUID. A retry with the same key returns the first answer. Missing: 422. |

#### Request body

`application/json`.

Release submission. The whole body is snapshotted onto the run; `profile` selects the store profile and `config` carries per-run rule overrides (never below the stores' floors).

| Field | Type | Description |
|---|---|---|
| `tier` | integer | One of `1`, `2`, `3`. Default `1`. |
| `profile` | string | Example `apple`. |
| `release` | object | title, version, release_type (worked out from the tracks and their lengths when you leave it out; left unset where a length is missing and the number of tracks does not decide), upc, label_name, release_date, language, `genre` (or `genres`), `artists` and `contributors` ({role, name}), `artwork` ({url} or a builder upload's {upload_id}, optional `ai_generated` — AR20 asks about an undeclared AI-looking cover). The cover and the metadata are read by a model. The builder's fields also go here: metadata_language, various_artists, has_record_label, compilation, previously_released, previous_upc, secondary_genre, description, copyright_{p,c}_{year,owner}, release_asap, pre_order_date, release_time, timezone, stores, territories ({mode, countries}); `contributors` may carry a `group` (performer, producer, writer). |
| `tracks` | array of object | track_number, title, version, isrc, explicit, `duration_s` (its length in seconds; a measured length is used once there is one), `artists`, `contributors`, `audio` ({url}, and a builder upload's `upload_id`), `ai_disclosure` (the AI answers AI2 asks for), `match_declaration` ({work, use, licence, own_recording, heard_same}: the answers CM1-CM3 ask for about a matched recording; `licence` is a document upload's id), `matching_result` (for an account that sends its own matching results: the file object ACRCloud File Scanning answered for this track, or its `{data: [file]}`, finished, at most 2 MB, 20 MB in one request; tier 2 or above, from your server only; its `duration` must agree with the track's to 2 seconds or it is not used; never kept in the run's payload); from the builder also genre, origin, properties, writers ({name, role, share, publisher, iswc}), lyrics, lyrics_language, instrumental, lyrics_lines ([{id, t, text, kind, gap, roman}]) and monetization ([{store, policy}]). |
| `config` | object |  |
| `account` | object | The uploading account, keyed by your own account id. Its trust decides whether a clean release goes out at once or is checked by a person first (rule TR1). `trust_score` (0-100) is your own score for this call; a WAVBEE staff override beats it, and it beats the score activQC works out from the account's history. Anything else is a 422. |
| `account.id` | string | **Required.** 1 to 128 characters. Example `artist-8812`. |
| `account.trust_score` | integer | 0 to 100. Example `35`. |
| `account.name` | string | A label for your console, at most 255 characters. Example `Kayal Beats`. |
| `qc_answers` | object | Answers the builder already collected that change nothing, keyed "\<rule_id>:\<release\|track>:\<track_number>" to an option id ("T24:release:" => "as_intended"), or to {id, value} for an option with an input (a licence upload's id). The run answers its matching questions with them, which sends the release to a person. |

#### Example request

```bash
curl -s -X POST "$ACTIVQC_BASE_URL/v1/qc/runs" \
  -H "Authorization: Bearer $ACTIVQC_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "tier": 1,
  "release": {
    "title": "Monsoon Letters",
    "metadata_language": "English",
    "artists": [
      {
        "role": "primary",
        "name": "Aruvi"
      }
    ],
    "label_name": "Kayal Records",
    "genre": "Indie Pop",
    "copyright_p": "2026 Kayal Records",
    "copyright_c": "2026 Kayal Records",
    "artwork": {
      "url": "https://cdn.example.com/monsoon-letters.jpg"
    }
  },
  "tracks": [
    {
      "track_number": 1,
      "title": "Monsoon Letters",
      "isrc": "INH012600001",
      "explicit": false
    }
  ]
}'
```

#### Responses

| Status | Meaning |
|---|---|
| `202` | Run queued. |
| `401` | No key. [Error envelope](https://activqc.wavbee.com/docs/errors.md). |
| `422` | Idempotency-Key header missing, or a matching result that cannot be taken (matching_result_invalid, matching_result_not_allowed) [Error envelope](https://activqc.wavbee.com/docs/errors.md). |

#### Response `202`

| Field | Type | Description |
|---|---|---|
| `id` | integer | **Required.** Example `42`. |
| `object` | string | **Required.** Example `qc.run`. |
| `status` | string | **Required.** One of `queued`, `running`, `completed`. |
| `tier` | integer | **Required.** Example `1`. |
| `profile` | string or null | Example `apple`. |
| `verdict` | string or null | One of `pass`, `pass_with_warnings`, `needs_clarification`, `manual_review`, `fail`. |
| `final_decision` | string or null | One of `accepted`, `changes_required`, `rejected`. |
| `verdict_phase` | string or null | Example `fast_lane`. |
| `rulebook_version` | string or null | Example `1.0.0`. |
| `counts` | map of integer |  |
| `decision` | object or null | The one decision shown to the artist, worked out from the findings' outcomes. `checking` while `artwork_check`, `audio_check` or `model_check` is pending and nothing already fails. A clean draft is pre-submit (no audio checks ran), so it never promises the release is accepted. |
| `decision.state` | string | **Required.** One of `checking`, `accepted`, `rejected`, `manual_review`, `needs_answers`. |
| `decision.headline` | string | **Required.** Example `Rejected`. |
| `decision.summary` | string | **Required.** Plain words for the artist; on a draft, manual review is promised after you submit. |
| `decision.open_questions` | integer | **Required.** What blocks Submit (open questions and fixable fails); the headline's N. The response's top-level `open_questions` can be higher: it also counts advisory ones. |
| `decision.reasons` | array of object | **Required.** One line per finding that matters, worst first. |
| `decision.reasons[].id` | string | **Required.** `<rule>:<release\|track>:<n>`, the key a finding's answer is kept under. Example `AR7:release:`. |
| `decision.reasons[].outcome` | string | **Required.** One of `fail`, `manual_review`, `clarify`, `not_run`, `warn`. |
| `decision.reasons[].text` | string | **Required.** |
| `decision.reasons[].target` | object | **Required.** |
| `decision.reasons[].anchor` | string or null |  |
| `decision.reasons[].pins` | array of integer | **Required.** Numbers of the marks on the cover that belong to this finding. |
| `decision.reasons[].deciding` | boolean | **Required.** Whether this reason is what the decision rests on. |
| `decision.reasons[].open` | boolean | **Required.** A question or one-tap fix still waiting for the artist. |
| `decision.reasons[].answered` | boolean | The artist answered it is correct as it is; a person decides. |
| `decision.reasons[].answer_label` | string | What the artist answered, when answered. |
| `decision.reasons[].fix` | string | What would make it acceptable: the first change on offer. |
| `decision.reasons[].simulated` | boolean | True when the reason was read from a simulated scan (test keys only). |
| `trust` | object or null | The uploading account's trust the run was decided with (rule TR1), frozen when it was decided. Null when the release named no account, or before the run is decided. For your server only: the artist never sees it. |
| `trust.account_id` | string | **Required.** Example `artist-8812`. |
| `trust.score` | integer | **Required.** Example `50`. |
| `trust.band` | string | **Required.** One of `low`, `medium`, `high`. |
| `trust.source` | string | **Required.** `override` (pinned by WAVBEE staff), `tenant` (the trust_score you sent) or `computed`. One of `override`, `tenant`, `computed`. |
| `trust.reasons` | array of string | **Required.** |
| `created_at` | string (date-time) | **Required.** |
| `completed_at` | string (date-time) or null |  |

```json
{
  "id": 42,
  "object": "qc.run",
  "status": "queued",
  "tier": 1,
  "profile": "apple",
  "verdict": "pass",
  "final_decision": "accepted",
  "verdict_phase": "fast_lane",
  "rulebook_version": "1.0.0",
  "counts": {},
  "decision": {
    "state": "checking",
    "headline": "Rejected",
    "summary": "string",
    "open_questions": 1,
    "reasons": [
      {
        "id": "AR7:release:",
        "outcome": "fail",
        "text": "string",
        "target": {},
        "anchor": "string",
        "pins": [],
        "deciding": false,
        "open": false,
        "answered": false,
        "answer_label": "string",
        "fix": "string",
        "simulated": false
      }
    ]
  },
  "trust": {
    "account_id": "artist-8812",
    "score": 50,
    "band": "low",
    "source": "override",
    "reasons": [
      "3 releases accepted (+6)"
    ]
  },
  "created_at": "2026-11-24T10:00:00Z",
  "completed_at": "2026-11-24T10:00:00Z"
}
```

## GET /v1/qc/runs/{id}

Fetch a QC run.

**Auth:** a secret key, `Authorization: Bearer $ACTIVQC_KEY`.

#### Parameters

| Name | In | Type | Description |
|---|---|---|---|
| `id` | path | integer | **Required.** |

#### Example request

```bash
curl -s "$ACTIVQC_BASE_URL/v1/qc/runs/{id}" \
  -H "Authorization: Bearer $ACTIVQC_KEY"
```

#### Responses

| Status | Meaning |
|---|---|
| `200` | Found. |
| `404` | Absent or owned by another tenant. [Error envelope](https://activqc.wavbee.com/docs/errors.md). |

#### Response `200`

| Field | Type | Description |
|---|---|---|
| `id` | integer | **Required.** Example `42`. |
| `object` | string | **Required.** Example `qc.run`. |
| `status` | string | **Required.** One of `queued`, `running`, `completed`. |
| `tier` | integer | **Required.** Example `1`. |
| `profile` | string or null | Example `apple`. |
| `verdict` | string or null | One of `pass`, `pass_with_warnings`, `needs_clarification`, `manual_review`, `fail`. |
| `final_decision` | string or null | One of `accepted`, `changes_required`, `rejected`. |
| `verdict_phase` | string or null | Example `fast_lane`. |
| `rulebook_version` | string or null | Example `1.0.0`. |
| `counts` | map of integer |  |
| `decision` | object or null | The one decision shown to the artist, worked out from the findings' outcomes. `checking` while `artwork_check`, `audio_check` or `model_check` is pending and nothing already fails. A clean draft is pre-submit (no audio checks ran), so it never promises the release is accepted. |
| `decision.state` | string | **Required.** One of `checking`, `accepted`, `rejected`, `manual_review`, `needs_answers`. |
| `decision.headline` | string | **Required.** Example `Rejected`. |
| `decision.summary` | string | **Required.** Plain words for the artist; on a draft, manual review is promised after you submit. |
| `decision.open_questions` | integer | **Required.** What blocks Submit (open questions and fixable fails); the headline's N. The response's top-level `open_questions` can be higher: it also counts advisory ones. |
| `decision.reasons` | array of object | **Required.** One line per finding that matters, worst first. |
| `decision.reasons[].id` | string | **Required.** `<rule>:<release\|track>:<n>`, the key a finding's answer is kept under. Example `AR7:release:`. |
| `decision.reasons[].outcome` | string | **Required.** One of `fail`, `manual_review`, `clarify`, `not_run`, `warn`. |
| `decision.reasons[].text` | string | **Required.** |
| `decision.reasons[].target` | object | **Required.** |
| `decision.reasons[].anchor` | string or null |  |
| `decision.reasons[].pins` | array of integer | **Required.** Numbers of the marks on the cover that belong to this finding. |
| `decision.reasons[].deciding` | boolean | **Required.** Whether this reason is what the decision rests on. |
| `decision.reasons[].open` | boolean | **Required.** A question or one-tap fix still waiting for the artist. |
| `decision.reasons[].answered` | boolean | The artist answered it is correct as it is; a person decides. |
| `decision.reasons[].answer_label` | string | What the artist answered, when answered. |
| `decision.reasons[].fix` | string | What would make it acceptable: the first change on offer. |
| `decision.reasons[].simulated` | boolean | True when the reason was read from a simulated scan (test keys only). |
| `trust` | object or null | The uploading account's trust the run was decided with (rule TR1), frozen when it was decided. Null when the release named no account, or before the run is decided. For your server only: the artist never sees it. |
| `trust.account_id` | string | **Required.** Example `artist-8812`. |
| `trust.score` | integer | **Required.** Example `50`. |
| `trust.band` | string | **Required.** One of `low`, `medium`, `high`. |
| `trust.source` | string | **Required.** `override` (pinned by WAVBEE staff), `tenant` (the trust_score you sent) or `computed`. One of `override`, `tenant`, `computed`. |
| `trust.reasons` | array of string | **Required.** |
| `created_at` | string (date-time) | **Required.** |
| `completed_at` | string (date-time) or null |  |

```json
{
  "id": 42,
  "object": "qc.run",
  "status": "queued",
  "tier": 1,
  "profile": "apple",
  "verdict": "pass",
  "final_decision": "accepted",
  "verdict_phase": "fast_lane",
  "rulebook_version": "1.0.0",
  "counts": {},
  "decision": {
    "state": "checking",
    "headline": "Rejected",
    "summary": "string",
    "open_questions": 1,
    "reasons": [
      {
        "id": "AR7:release:",
        "outcome": "fail",
        "text": "string",
        "target": {},
        "anchor": "string",
        "pins": [],
        "deciding": false,
        "open": false,
        "answered": false,
        "answer_label": "string",
        "fix": "string",
        "simulated": false
      }
    ]
  },
  "trust": {
    "account_id": "artist-8812",
    "score": 50,
    "band": "low",
    "source": "override",
    "reasons": [
      "3 releases accepted (+6)"
    ]
  },
  "created_at": "2026-11-24T10:00:00Z",
  "completed_at": "2026-11-24T10:00:00Z"
}
```

## GET /v1/qc/runs/{id}/report

Fetch the full QC report (per-rule findings)

**Auth:** a secret key, `Authorization: Bearer $ACTIVQC_KEY`.

#### Parameters

| Name | In | Type | Description |
|---|---|---|---|
| `id` | path | integer | **Required.** |

#### Example request

```bash
curl -s "$ACTIVQC_BASE_URL/v1/qc/runs/{id}/report" \
  -H "Authorization: Bearer $ACTIVQC_KEY"
```

#### Responses

| Status | Meaning |
|---|---|
| `200` | The run's findings. |
| `404` | Absent or owned by another tenant. [Error envelope](https://activqc.wavbee.com/docs/errors.md). |

#### Response `200`

| Field | Type | Description |
|---|---|---|
| `id` | integer | **Required.** Example `42`. |
| `object` | string | **Required.** Example `qc.report`. |
| `verdict` | string or null | **Required.** |
| `verdict_phase` | string or null |  |
| `rulebook_version` | string or null |  |
| `findings` | array of object | **Required.** |
| `findings[].id` | integer | **Required.** Review it with PUT /v1/qc/findings/{id}/review. |
| `findings[].rule_id` | string | **Required.** Example `T2`. |
| `findings[].statement` | string or null | What the rule checks, in words. |
| `findings[].source` | string or null | Where the rule comes from (a store style guide, a standard). |
| `findings[].review` | object or null | Your own review of this finding: verdict, note. |
| `findings[].target` | object | **Required.** |
| `findings[].target.type` | string | **Required.** One of `release`, `track`. |
| `findings[].target.track_number` | integer or null |  |
| `findings[].severity` | string | **Required.** One of `pass`, `warn`, `clarify`, `fail`, `manual_review`, `not_run`. |
| `findings[].check_type` | string | **Required.** One of `det`, `dsp`, `vis`, `llm`, `hum`. |
| `findings[].message` | string or null |  |
| `findings[].evidence` | object |  |
| `findings[].confidence` | number or null |  |
| `findings[].model_version` | string or null |  |
| `findings[].simulated` | boolean | True when the finding was read from a simulated scan (test keys only). |
| `findings[].judged` | boolean | True when a model judged it from the titles, names and credits: what `checks: fast` leaves for later. |
| `findings[].matching_source` | string or null | Present when the finding was read from a matching result you sent. Example `Sent by Kayal Records`. |
| `matching` | array of object |  |
| `matching[].track_number` | integer | **Required.** Example `1`. |
| `matching[].source` | string | **Required.** `sent` with the release, a `scan` made through us, `simulated` (test keys only), or `none`. One of `sent`, `scan`, `simulated`, `none`. |
| `matching[].label` | string | **Required.** The same in words. Example `Sent by Kayal Records`. |
| `matching[].used` | boolean | **Required.** False when there was no result, or it could not be used. |
| `matching[].reason` | string | Why it was not used. Example `sent_wrong_length`. |
| `audio` | array of object |  |
| `audio[].track_number` | integer | **Required.** Example `1`. |
| `audio[].sample_rate_hz` | integer or null | Example `44100`. |
| `audio[].bit_depth` | integer or null | Example `16`. |
| `audio[].channels` | integer or null | Example `2`. |
| `audio[].duration_s` | number or null | Example `213.4`. |
| `audio[].integrated_lufs` | number or null | Example `-14.2`. |
| `audio[].loudness_range_lu` | number or null | Example `6.1`. |
| `audio[].true_peak_dbfs` | number or null | Example `-1.4`. |
| `audio[].silence_spans` | array of object or null |  |
| `audio[].analyzers` | object or null | Analyzer builds that produced these numbers. |
| `audio[].error` | string or null | Set when analysis failed; the track was NOT measured. One of `vendor_timeout`, `analysis_error`, `audio_unresolved`. |
| `audio_intelligence` | object or null | Musical descriptions, such as tempo and key. Descriptive only — never affects the QC verdict. |
| `audio_intelligence.schema_version` | string | Example `1.0`. |
| `audio_intelligence.per_track` | array of object |  |

```json
{
  "id": 42,
  "object": "qc.report",
  "verdict": "string",
  "verdict_phase": "string",
  "rulebook_version": "string",
  "findings": [
    {
      "id": 1,
      "rule_id": "T2",
      "statement": "string",
      "source": "string",
      "review": {},
      "target": {
        "type": "release",
        "track_number": 1
      },
      "severity": "pass",
      "check_type": "det",
      "message": "string",
      "evidence": {},
      "confidence": 1.0,
      "model_version": "string",
      "simulated": false,
      "judged": false,
      "matching_source": "Sent by Kayal Records"
    }
  ],
  "matching": [
    {
      "track_number": 1,
      "source": "sent",
      "label": "Sent by Kayal Records",
      "used": false,
      "reason": "sent_wrong_length"
    }
  ],
  "audio": [
    {
      "track_number": 1,
      "sample_rate_hz": 44100,
      "bit_depth": 16,
      "channels": 2,
      "duration_s": 213.4,
      "integrated_lufs": -14.2,
      "loudness_range_lu": 6.1,
      "true_peak_dbfs": -1.4,
      "silence_spans": [
        {}
      ],
      "analyzers": {},
      "error": "vendor_timeout"
    }
  ],
  "audio_intelligence": {
    "schema_version": "1.0",
    "per_track": [
      {}
    ]
  }
}
```

## POST /v1/qc/validate

Validate a draft release without creating a run.

Read-only and repeatable — for a release builder validating while the artist types. No run is created and nothing is metered, so there is no Idempotency-Key. A `clarify` finding carries the fix already written.

**Auth:** a secret key, `Authorization: Bearer $ACTIVQC_KEY`.

#### Request body

`application/json`.

Release submission. The whole body is snapshotted onto the run; `profile` selects the store profile and `config` carries per-run rule overrides (never below the stores' floors).

| Field | Type | Description |
|---|---|---|
| `tier` | integer | One of `1`, `2`, `3`. Default `1`. |
| `profile` | string | Example `apple`. |
| `release` | object | title, version, release_type (worked out from the tracks and their lengths when you leave it out; left unset where a length is missing and the number of tracks does not decide), upc, label_name, release_date, language, `genre` (or `genres`), `artists` and `contributors` ({role, name}), `artwork` ({url} or a builder upload's {upload_id}, optional `ai_generated` — AR20 asks about an undeclared AI-looking cover). The cover and the metadata are read by a model. The builder's fields also go here: metadata_language, various_artists, has_record_label, compilation, previously_released, previous_upc, secondary_genre, description, copyright_{p,c}_{year,owner}, release_asap, pre_order_date, release_time, timezone, stores, territories ({mode, countries}); `contributors` may carry a `group` (performer, producer, writer). |
| `tracks` | array of object | track_number, title, version, isrc, explicit, `duration_s` (its length in seconds; a measured length is used once there is one), `artists`, `contributors`, `audio` ({url}, and a builder upload's `upload_id`), `ai_disclosure` (the AI answers AI2 asks for), `match_declaration` ({work, use, licence, own_recording, heard_same}: the answers CM1-CM3 ask for about a matched recording; `licence` is a document upload's id), `matching_result` (for an account that sends its own matching results: the file object ACRCloud File Scanning answered for this track, or its `{data: [file]}`, finished, at most 2 MB, 20 MB in one request; tier 2 or above, from your server only; its `duration` must agree with the track's to 2 seconds or it is not used; never kept in the run's payload); from the builder also genre, origin, properties, writers ({name, role, share, publisher, iswc}), lyrics, lyrics_language, instrumental, lyrics_lines ([{id, t, text, kind, gap, roman}]) and monetization ([{store, policy}]). |
| `config` | object |  |
| `account` | object | The uploading account, keyed by your own account id. Its trust decides whether a clean release goes out at once or is checked by a person first (rule TR1). `trust_score` (0-100) is your own score for this call; a WAVBEE staff override beats it, and it beats the score activQC works out from the account's history. Anything else is a 422. |
| `account.id` | string | **Required.** 1 to 128 characters. Example `artist-8812`. |
| `account.trust_score` | integer | 0 to 100. Example `35`. |
| `account.name` | string | A label for your console, at most 255 characters. Example `Kayal Beats`. |
| `qc_answers` | object | Answers the builder already collected that change nothing, keyed "\<rule_id>:\<release\|track>:\<track_number>" to an option id ("T24:release:" => "as_intended"), or to {id, value} for an option with an input (a licence upload's id). The run answers its matching questions with them, which sends the release to a person. |
| `checks` | string | `fast` answers at once with everything that is not a model's judgement; `model_check` says whether a model still has to read this text. For a builder checking while someone types. One of `full`, `fast`. Default `full`. |

#### Example request

```bash
curl -s -X POST "$ACTIVQC_BASE_URL/v1/qc/validate" \
  -H "Authorization: Bearer $ACTIVQC_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "tier": 1,
  "release": {
    "title": "Monsoon Letters",
    "metadata_language": "English",
    "artists": [
      {
        "role": "primary",
        "name": "Aruvi"
      }
    ],
    "label_name": "Kayal Records",
    "genre": "Indie Pop",
    "copyright_p": "2026 Kayal Records",
    "copyright_c": "2026 Kayal Records",
    "artwork": {
      "url": "https://cdn.example.com/monsoon-letters.jpg"
    }
  },
  "tracks": [
    {
      "track_number": 1,
      "title": "Monsoon Letters",
      "isrc": "INH012600001",
      "explicit": false
    }
  ]
}'
```

#### Responses

| Status | Meaning |
|---|---|
| `200` | Validated. |
| `401` | No key. [Error envelope](https://activqc.wavbee.com/docs/errors.md). |

#### Response `200`

| Field | Type | Description |
|---|---|---|
| `object` | string | **Required.** Example `qc.validation`. |
| `verdict` | string | **Required.** One of `pass`, `pass_with_warnings`, `needs_clarification`, `manual_review`, `fail`. |
| `blocking` | boolean | **Required.** Whether anything here should stop Submit. Advisory findings never block. |
| `open_questions` | integer | Findings carrying an answerable question. |
| `counts` | map of integer |  |
| `artwork_check` | string | `pending` while the cover uploaded to the builder is still being read: validate again in a few seconds for what is on it. One of `pending`, `complete`. |
| `audio_check` | string | `pending` while a track's silence is still being measured or a builder master is still being scanned: validate again in a few seconds for their findings and questions (AU8, AI2). One of `pending`, `complete`. |
| `model_check` | string | `pending` only when you asked for `"checks": "fast"` and a model has not judged this text yet (titles, names, credits): validate without `checks` for its findings. What it said of the same text before is already in a fast answer. One of `pending`, `complete`. |
| `decision` | object | The one decision shown to the artist, worked out from the findings' outcomes. `checking` while `artwork_check`, `audio_check` or `model_check` is pending and nothing already fails. A clean draft is pre-submit (no audio checks ran), so it never promises the release is accepted. |
| `decision.state` | string | **Required.** One of `checking`, `accepted`, `rejected`, `manual_review`, `needs_answers`. |
| `decision.headline` | string | **Required.** Example `Rejected`. |
| `decision.summary` | string | **Required.** Plain words for the artist; on a draft, manual review is promised after you submit. |
| `decision.open_questions` | integer | **Required.** What blocks Submit (open questions and fixable fails); the headline's N. The response's top-level `open_questions` can be higher: it also counts advisory ones. |
| `decision.reasons` | array of object | **Required.** One line per finding that matters, worst first. |
| `decision.reasons[].id` | string | **Required.** `<rule>:<release\|track>:<n>`, the key a finding's answer is kept under. Example `AR7:release:`. |
| `decision.reasons[].outcome` | string | **Required.** One of `fail`, `manual_review`, `clarify`, `not_run`, `warn`. |
| `decision.reasons[].text` | string | **Required.** |
| `decision.reasons[].target` | object | **Required.** |
| `decision.reasons[].anchor` | string or null |  |
| `decision.reasons[].pins` | array of integer | **Required.** Numbers of the marks on the cover that belong to this finding. |
| `decision.reasons[].deciding` | boolean | **Required.** Whether this reason is what the decision rests on. |
| `decision.reasons[].open` | boolean | **Required.** A question or one-tap fix still waiting for the artist. |
| `decision.reasons[].answered` | boolean | The artist answered it is correct as it is; a person decides. |
| `decision.reasons[].answer_label` | string | What the artist answered, when answered. |
| `decision.reasons[].fix` | string | What would make it acceptable: the first change on offer. |
| `decision.reasons[].simulated` | boolean | True when the reason was read from a simulated scan (test keys only). |
| `findings` | array of object | **Required.** |
| `findings[].rule_id` | string | **Required.** Example `P15`. |
| `findings[].target` | object | **Required.** |
| `findings[].target.type` | string | **Required.** One of `release`, `track`. |
| `findings[].target.track_number` | integer or null |  |
| `findings[].severity` | string | **Required.** One of `warn`, `clarify`, `fail`, `manual_review`, `not_run`. |
| `findings[].message` | string or null |  |
| `findings[].evidence` | object |  |
| `findings[].anchor` | string or null | Where the builder should scroll. Section-level, not field-level. Example `/release/upc`. |
| `findings[].simulated` | boolean | True when the finding was read from a simulated scan (test keys only). |
| `findings[].question` | object or null | The question the builder asks, with the fixes on offer. A failing or advisory finding carries one when a fix is derivable; a clarify finding always does — at least "It's correct as it is". Moderation (manual_review) never asks: a person decides it. |
| `findings[].question.question` | string |  |
| `findings[].question.answer` | object | The answer the draft's qc_answers already gives ({id, label}, and `value` for an option with an input: an upload is described by filename, content_type and byte_size); the question no longer blocks. |
| `findings[].question.proposed_patch` | object or null | A single RFC 6902 operation. `null` on an option means it applies nothing. |
| `findings[].question.proposed_patch.op` | string | **Required.** One of `add`, `replace`, `remove`. |
| `findings[].question.proposed_patch.path` | string | **Required.** Example `/tracks/0/title`. |
| `findings[].question.proposed_patch.value` | any | Absent for `remove`. |
| `findings[].question.options` | array of object |  |
| `findings[].question.options[].id` | string | **Required.** Example `release_title`. |
| `findings[].question.options[].label` | string | **Required.** Example `Yes - change the release type to Album`. |
| `findings[].question.options[].patch` | object or null | A single RFC 6902 operation. `null` on an option means it applies nothing. |
| `findings[].question.options[].input` | string | What the answer's `value` must be: one of `choices` (select), a list of them (multi), a line of text (text), or a builder upload's id (upload, `kind: document`). One of `select`, `multi`, `text`, `date`, `upload`. |
| `findings[].question.options[].choices` | array of object | For select and multi. |
| `findings[].question.options[].required` | boolean | Whether a value must be given. Defaults to true. |
| `findings[].question.options[].max_length` | integer | For text; never above 200. |
| `findings[].question.options[].accept` | array of string | For upload: the MIME types taken, within PDF, JPEG and PNG. |
| `findings[].question.options[].max_bytes` | integer | For upload; never above 10 MB. Example `10485760`. |

```json
{
  "object": "qc.validation",
  "verdict": "pass",
  "blocking": false,
  "open_questions": 1,
  "counts": {},
  "artwork_check": "pending",
  "audio_check": "pending",
  "model_check": "pending",
  "decision": {
    "state": "checking",
    "headline": "Rejected",
    "summary": "string",
    "open_questions": 1,
    "reasons": [
      {
        "id": "AR7:release:",
        "outcome": "fail",
        "text": "string",
        "target": {},
        "anchor": "string",
        "pins": [],
        "deciding": false,
        "open": false,
        "answered": false,
        "answer_label": "string",
        "fix": "string",
        "simulated": false
      }
    ]
  },
  "findings": [
    {
      "rule_id": "P15",
      "target": {
        "type": "release",
        "track_number": 1
      },
      "severity": "warn",
      "message": "string",
      "evidence": {},
      "anchor": "/release/upc",
      "simulated": false,
      "question": {
        "question": "string",
        "answer": {},
        "proposed_patch": {
          "op": null,
          "path": "/tracks/0/title",
          "value": null
        },
        "options": []
      }
    }
  ]
}
```

