Az

Azure AI Translator emulator

admin — changes apply immediately, defaults come from config

Subscription keys

Allow-list of `Ocp-Apim-Subscription-Key` values (also accepted as `?Subscription-Key=` and via bearer tokens minted by /sts/v1.0/issueToken). A key not on the list gets the documented 401000 envelope. Region: global resource — the Ocp-Apim-Subscription-Region header is ignored.

Latency

Injected latency (ms) before every translate/detect/languages call.

Forced failure

Make every data-plane call answer a documented Azure error until cleared: set an HTTP status (429 → 429001, 500 → 500000, 401 → 401000, 403 → 403001, 503 → 503000) or an exact 6-digit code.

Recent translations

Last 50 translate/detect items (deterministic `[<to>] <text>` unless overridden in config).

Requests from the backend

Danger zone

wipes payments, logs and every runtime override — back to configured defaults