# Mock Mode

A **mock account** lets you build and test an integration quickly and without cost. Everything except the AI work is real: authentication, rate limits, the job lifecycle, status changes, the result format and (when available) webhooks and PDF export. Classification, pack splitting and extraction are replaced by canned results.

## How to get a mock key

Ask GoSmarter for a mock account. Its keys work only against mock behaviour: the service decides from the account, never from anything in the request, so a mock job can never reach real extraction or be billed.

## Scenarios

Pass `scenario` when you create a job with a mock key (it is rejected for live accounts). If you leave it out you get `single-certificate` for a single job and `three-supplier-pack` for a pack.

| Mode | Scenario | What it plays |
|---|---|---|
| single | `single-certificate` | One clean certificate. |
| single | `mixed-heats` | Heats that span pages (needs an upload of at least 3 pages). |
| single | `low-confidence-supplier` | A certificate matched to its supplier with low confidence. |
| single | `delayed-completion` | Completes after a delay, to exercise polling. |
| pack | `three-supplier-pack` | Three suppliers split out of one pack. |
| pack | `pack-one-failed-child` | One certificate fails; the job ends `completedWithErrors` and the others are returned. |
| pack | `split-failure` | The split fails; the job ends `failed`. |

A scenario that does not match the job's mode is a 400. Usage is recorded for mock jobs (so you can check your reconciliation) but is never invoiced.
