---
title: "Create Assessment"
method: POST
path: "/api/assessments"
tags: ["assessments"]
---

# Create Assessment

`POST /api/assessments`

## 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/assessments`
- Auth: none declared

Create a new assessment — current_affairs, adaptive, or seed-based.

Success is recorded by each path's ``assessment.created`` (with how long
the user waited); a request that ends without a set is recorded here as
``assessment.create_failed``, so slow and failed starts are both in
v2.product_events.

## Headers

- `authorization` string, nullable

## Request body

- CreateAssessmentRequest
  - `subject` string, required
  - `topic` string, nullable
  - `num_questions` integer
  - `difficulty` string
  - `assessment_type` string
  - `is_adaptive` boolean
  - `subtopic` string, nullable
  - `include_pyq` boolean
  - `window_mode` string, nullable
  - `window_value` string, nullable
  - `gs_paper` string, nullable
  - `compilation_id` string, nullable
  - `word_limit` integer, nullable
  - `include_news_enrichment` boolean
  - `document_id` string, nullable

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