---
title: "POST /api/testability/inject-mcqs"
method: POST
path: "/api/testability/inject-mcqs"
tags: ["testability-rest-controller"]
---

# POST /api/testability/inject-mcqs

`POST /api/testability/inject-mcqs`

## Request

- Base URL: `` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/testability/inject-mcqs`
- Auth: none declared

## Request body

- McqsTestData
  - `notebookName` string
  - `mcqTestData` McqTestData[]
    - `Note Title` string
    - `Question` string
    - `Answer` string
    - `One Wrong Choice` string

## Response `200`

OK

- Mcq[]
  - `id` integer, required
  - `correctAnswerIndex` integer
  - `contextSeed` integer
  - `testedFocus` string
  - `validationRationale` string
  - `questionStem` string, required
  - `responseChoices` string[], required

## Changes

- **2026-08-15** `9c5f3700ef20`: 1 breaking, 2 info
  - removed the required property `items/multipleChoicesQuestion` from the response with the `200` status
  - added the required property `items/questionStem` to the response with the `200` status
  - added the required property `items/responseChoices` to the response with the `200` status
- **2026-08-15** `8bb1e2f60870`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api/changes/api/testability/inject-mcqs/post.md)

---

[API](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api.md) - [All operations](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nerds-odd-e/apis/odd-e-open-api/revisions/193c5e89085a?raw)
