# EditTrainingQuestionInput

input type

Edit-input for a TrainingQuestion. Every field optional, at least ONE required; supplied fields REPLACE prompt, options (WHOLESALE), correctIndex, explanation, stepN and/or caption — at least one; when only one of options/correctIndex moves, the index is checked against the stored options; courseKey and source never move.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `caption` | [String](/types/#scalars) | no | No further notes. |
| `stepN` | [Int](/types/#scalars) | no | The play step it tests (1-based). |
| `prompt` | [String](/types/#scalars) | no | At most 400 characters. |
| `options` | [String](/types/#scalars) `[String!]` | no | Wholesale replacement when supplied. |
| `correctIndex` | [Int](/types/#scalars) | no | 0-based, below the options count. |
| `explanation` | [String](/types/#scalars) | no | At most 400 characters. |

## Used by

- [updateTrainingQuestion](/reference/training-question/updateTrainingQuestion/)
