---
title: "Plan Quality"
method: GET
path: "/api/internal/plan-quality"
tags: ["Internal — Staff Tools", "internal"]
---

# Plan Quality

`GET /api/internal/plan-quality`

## 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/internal/plan-quality`
- Auth: HTTP bearer

Brain interview-plan provenance — how many candidates got the
deterministic (un-personalised) fallback plan instead of a real LLM plan,
and why. Reads the `plan_source`/`fallback_reason` flag the brain stamps
into `interviews.plan_json` (PR #101). Internal-staff only (404 otherwise).
Read-only. Tier 1 only — join-perf tiles need separate instrumentation.

## Query parameters

- `window_days` integer

## 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)
