---
title: "Update Test Mode"
method: POST
path: "/api/settings/test-mode"
tags: ["settings"]
---

# Update Test Mode

`POST /api/settings/test-mode`

## Request

- Base URL: `https://api.thebetterhire.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebetterhire.ai/api/settings/test-mode`
- Auth: HTTP bearer

Enable or disable test mode for the organization

BetterHire staff only (2026-09-02). 404 rather than 403 follows the
convention in core/internal_access.py: for staff tooling a 403 confirms
the endpoint exists. The create path uses 403 instead, deliberately —
there the caller sent a flag and deserves to know why it was refused.

Note this is the WEAKER of the two gates. The real one is in
interview_routes.create_interview: `is_test_mode` came straight from the
client with no validation, so before that gate this toggle controlled
nothing but UI visibility.

Test mode allows manual audio upload and testing of the analysis pipeline

## Request body

- TestModeRequest
  - `enabled` boolean, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api.md) · [All operations](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thebetterhire/apis/interanalysis-b2b-api/revisions/c8ad03e900ea?raw)
