---
title: "Pregen Question Pool"
method: POST
path: "/api/admin/pregen-question-pool"
tags: ["admin"]
---

# Pregen Question Pool

`POST /api/admin/pregen-question-pool`

## Request

- Base URL: `https://api.sambodh-ias.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sambodh-ias.in/api/admin/pregen-question-pool`
- Auth: none declared

Pre-generate questions for all subtopics where the pool has fewer than
pool_target questions.  Returns immediately; processing runs in background.
Check /admin/question-pool/stats for progress.

## Headers

- `authorization` string, nullable

## Request body

- PregenPoolRequest
  - `subject` string, nullable
  - `pool_target` integer
  - `min_chunks` integer
  - `report_tiny` boolean
  - `uncapped` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sambodh-ias/apis/sambodhias-v2.md) · [All operations](https://skmtc.dev/sambodh-ias/apis/sambodhias-v2/llms.txt) · [OpenAPI document](https://skmtc.dev/sambodh-ias/apis/sambodhias-v2/revisions/258843d1f806?raw)
