---
title: "Generate Prep Questions"
method: POST
path: "/api/interviews/{interview_id}/generate-prep-questions"
tags: ["interview-prep"]
---

# Generate Prep Questions

`POST /api/interviews/{interview_id}/generate-prep-questions`

## 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/interviews/{interview_id}/generate-prep-questions`
- Auth: HTTP bearer

Generate AI-powered interview preparation questions.

Phase C: this endpoint is now a thin adapter over
`core.question_bank.prep_runner.run_prep_generation` so the same
generation logic powers both this manual trigger and the post-round
auto-trigger that fires from the screening / brain / human pipelines.
Side effects (interviews.prep_questions persist + bank push) live in
the runner.

## Path parameters

- `interview_id` string, required

## Response `200`

Successful Response

- PrepQuestionsResponse: Full response for prep questions
  - `interview_context` InterviewContext, required: Context about the current interview
    - `round_number` integer, required
    - `job_title` string, required
    - `stage_name` string, nullable
    - `focus_competencies` string[]
  - `previous_rounds` PreviousRoundsContext, required: Context from previous interview rounds
    - `has_previous` boolean
    - `rounds_completed` integer
    - `summary` PreviousRoundSummary[]
      - `round` integer, required
      - `stage_name` string, nullable
      - `topics_covered` string[]
      - `flags_identified` string[]
      - `unverified_claims` string[]
    - `already_covered` string[]
    - `follow_up_on` FollowUpItem[]
      - `topic` string, required
      - `reason` string, required
  - `questions` object, required
  - `flags` object, required
  - `competency_coverage` object, required
  - `generated_at` string, required

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