config.time.max_time - Initialization - Items API

Items API Initialization


The total time allowed for learners to complete the assessment, in seconds. By default, this timer appears in the upper right corner of the assessment player.

You would want to specify this option so that you can match the allowed time with the number of Questions to complete in the assessment.

Note The setting can be extended by a proctor when running a live status assessment.

Note A value of 0, or omitting max_time completely, is the equivalent of unlimited time.


// Set various assessment timer options:
// 1. Set the maximum time for the assessment to 10 minutes
// 2. Enable the warning indicator when 60 seconds remains
// 3. Force the assessment submission when the time has run out
// 4. Show the timer counting down from the total assessment time
var initializationOptions = {
    "config": {
        "time": {
            "max_time": 600,
            "warning_time": 60,
            "limit_type": "hard",
            "countdown_option": true
    // ...


Attribute path config.time.max_time

Type number

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.