# NewTrainingQuestionInput

input type

The tenant stamps server-side; courseKey must resolve to a live play and stepN, when given, to one of its steps (VALIDATION otherwise); correctIndex must name one of the options; source is drafted | written.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `caption` | [String](/types/#scalars) | no | Optional: when omitted the per-type default applies — the prompt cut to the caption cap; when supplied it must be non-blank. |
| `courseKey` | [String](/types/#scalars) `String!` | yes | A live play key. |
| `stepN` | [Int](/types/#scalars) | no | The play step it tests (1-based), optional. |
| `prompt` | [String](/types/#scalars) `String!` | yes | At most 400 characters. |
| `options` | [String](/types/#scalars) `[String!]!` | yes | 2..6 options. |
| `correctIndex` | [Int](/types/#scalars) `Int!` | yes | 0-based, below the options count. |
| `explanation` | [String](/types/#scalars) `String!` | yes | At most 400 characters. |
| `source` | [String](/types/#scalars) `String!` | yes | drafted \| written. |

## Used by

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