CoderPad · Schema

playback_events

what the candidate did while answering a question, as replayed in the detailed report

CompanyArtificial IntelligenceHiringTechnical AssessmentInterviewPlatform

Properties

Name Type Description
events array the events, in playback order. Empty when the question has no playback: tests taken before January 2021, and questions other than coding ones before June 2023
View JSON Schema on GitHub

JSON Schema

coderpad-playback-events-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coderpad/json-schema/coderpad-playback-events-schema.json",
  "title": "playback_events",
  "description": "what the candidate did while answering a question, as replayed in the detailed report",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coderpad-tests-api-openapi.yml#/components/schemas/playback_events",
  "type": "object",
  "properties": {
    "events": {
      "type": "array",
      "description": "the events, in playback order. Empty when the question has no playback: tests taken before January 2021, and questions other than coding ones before June 2023",
      "items": {
        "$ref": "#/$defs/playback_event"
      }
    }
  },
  "$defs": {
    "playback_answer_diagnostic": {
      "type": "object",
      "properties": {
        "message": {
          "type": "string",
          "description": "message of the diagnostic"
        },
        "severity": {
          "type": "string",
          "description": "severity of the diagnostic, absent when the editor reported an unknown one",
          "enum": [
            "ERROR",
            "WARNING",
            "INFO",
            "HINT"
          ]
        },
        "range": {
          "$ref": "#/$defs/playback_text_range"
        },
        "source": {
          "type": "string",
          "description": "tool that reported the diagnostic"
        },
        "tags": {
          "type": "array",
          "description": "tags of the diagnostic, as reported by the editor",
          "items": {
            "type": "string",
            "description": "tags of the diagnostic, as reported by the editor"
          }
        }
      },
      "description": "every diagnostic shown after the change"
    },
    "playback_answer_diagnostics_changed_data": {
      "type": "object",
      "properties": {
        "diagnostics": {
          "type": "array",
          "description": "every diagnostic shown after the change",
          "items": {
            "$ref": "#/$defs/playback_answer_diagnostic"
          }
        }
      }
    },
    "playback_answer_diagnostics_changed_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "ANSWER_DIAGNOSTICS_CHANGED (verbose): the errors, warnings and hints shown in the answer editor of a CODE question changed",
          "enum": [
            "ANSWER_DIAGNOSTICS_CHANGED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_answer_diagnostics_changed_data"
        }
      },
      "description": "the diagnostics of the answer editor changed"
    },
    "playback_answer_edited_data": {
      "type": "object",
      "properties": {
        "edit_type": {
          "type": "string",
          "description": "how the text changed: typed, paste (text copied from the test itself), external_paste (text that does not come from the test, likely copied from outside), cut, undo or redo"
        },
        "offset": {
          "type": "integer",
          "description": "zero based position, in characters, where the change starts",
          "format": "int32"
        },
        "replaced_length": {
          "type": "integer",
          "description": "number of characters replaced, 0 for a plain insertion",
          "format": "int32"
        },
        "inserted_text": {
          "type": "string",
          "description": "inserted text, empty for a plain deletion"
        }
      }
    },
    "playback_answer_edited_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "ANSWER_EDITED: the candidate edited the answer of a coding or text question",
          "enum": [
            "ANSWER_EDITED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_answer_edited_data"
        }
      },
      "description": "the candidate edited the answer"
    },
    "playback_answer_recording_data": {
      "type": "object",
      "properties": {
        "recording_id": {
          "type": "string",
          "description": "id of the recording, as in answer.video_answer.recordings[].id of GET /tests/{id}",
          "format": "uuid"
        }
      }
    },
    "playback_answer_recording_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "CAMERA_ENABLED / CAMERA_DISABLED, MICROPHONE_ENABLED / MICROPHONE_DISABLED: the candidate turned their camera or microphone on / off during a recording. ANSWER_RECORDING_STOPPED: the candidate stopped a recording",
          "enum": [
            "CAMERA_ENABLED",
            "CAMERA_DISABLED",
            "MICROPHONE_ENABLED",
            "MICROPHONE_DISABLED",
            "ANSWER_RECORDING_STOPPED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_answer_recording_data"
        }
      },
      "description": "the candidate acted on a recording of a VIDEO question"
    },
    "playback_answer_recording_started_data": {
      "type": "object",
      "properties": {
        "recording_id": {
          "type": "string",
          "description": "id of the recording, as in answer.video_answer.recordings[].id of GET /tests/{id}",
          "format": "uuid"
        },
        "camera_enabled": {
          "type": "boolean",
          "description": "whether the camera was enabled when the recording started"
        },
        "microphone_enabled": {
          "type": "boolean",
          "description": "whether the microphone was enabled when the recording started"
        }
      }
    },
    "playback_answer_recording_started_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "ANSWER_RECORDING_STARTED: the candidate started a recording of a VIDEO question",
          "enum": [
            "ANSWER_RECORDING_STARTED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_answer_recording_started_data"
        }
      },
      "description": "the candidate started a recording of a VIDEO question"
    },
    "playback_breakpoint": {
      "type": "object",
      "properties": {
        "breakpoint_id": {
          "type": "string",
          "description": "id of the breakpoint, shared by the events about the same breakpoint"
        },
        "enabled": {
          "type": "boolean",
          "description": "whether the breakpoint is enabled"
        },
        "path": {
          "type": "string",
          "description": "path of the file, on a line breakpoint"
        },
        "line": {
          "type": "integer",
          "description": "line of the breakpoint, on a line breakpoint",
          "format": "int32"
        },
        "column": {
          "type": "integer",
          "description": "column of the breakpoint, on a line breakpoint",
          "format": "int32"
        },
        "function_name": {
          "type": "string",
          "description": "function the breakpoint stops in, on a function breakpoint"
        },
        "condition": {
          "type": "string",
          "description": "condition the breakpoint stops on"
        },
        "log_message": {
          "type": "string",
          "description": "message logged instead of stopping, on a logpoint"
        }
      },
      "description": "a breakpoint set in the IDE of a PROJECT question"
    },
    "playback_breakpoint_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "BREAKPOINT_ADDED / BREAKPOINT_CHANGED / BREAKPOINT_REMOVED: the candidate added / changed / removed a breakpoint",
          "enum": [
            "BREAKPOINT_ADDED",
            "BREAKPOINT_CHANGED",
            "BREAKPOINT_REMOVED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_breakpoint"
        }
      },
      "description": "the candidate added, changed or removed a breakpoint in a PROJECT question"
    },
    "playback_debug_session_data": {
      "type": "object",
      "properties": {
        "debug_session_id": {
          "type": "string",
          "description": "id of the debug session, shared with its other event"
        },
        "name": {
          "type": "string",
          "description": "name of the debug configuration"
        }
      }
    },
    "playback_debug_session_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "DEBUG_SESSION_STARTED / DEBUG_SESSION_ENDED: the candidate started / a debug session ended",
          "enum": [
            "DEBUG_SESSION_STARTED",
            "DEBUG_SESSION_ENDED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_debug_session_data"
        }
      },
      "description": "a debug session started or ended in a PROJECT question"
    },
    "playback_editor_initialized_data": {
      "type": "object",
      "properties": {
        "programming_language_id": {
          "type": "string",
          "description": "programming language id, as in code_details.programming_language_id. Absent on a question without a programming language, such as a TEXT question"
        },
        "content": {
          "type": "string",
          "description": "the whole content of the editor, code or text"
        }
      }
    },
    "playback_editor_initialized_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "EDITOR_INITIALIZED: the editor was loaded with a language and a code, each time the candidate opened the question or reloaded the page, or switched languages. The playback also adds one when the code saved for the candidate differs from the edits replayed so far, so the replay always ends on the submitted code",
          "enum": [
            "EDITOR_INITIALIZED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_editor_initialized_data"
        }
      },
      "description": "the editor was loaded"
    },
    "playback_event": {
      "type": "object",
      "description": "an event of the playback. Its type tells which data it carries. The verbose types are only returned with include_verbose_events=true",
      "oneOf": [
        {
          "$ref": "#/$defs/playback_signal_event"
        },
        {
          "$ref": "#/$defs/playback_editor_initialized_event"
        },
        {
          "$ref": "#/$defs/playback_answer_edited_event"
        },
        {
          "$ref": "#/$defs/playback_test_run_started_event"
        },
        {
          "$ref": "#/$defs/playback_test_run_ended_event"
        },
        {
          "$ref": "#/$defs/playback_text_copied_event"
        },
        {
          "$ref": "#/$defs/playback_statement_text_copied_event"
        },
        {
          "$ref": "#/$defs/playback_mcq_answer_changed_event"
        },
        {
          "$ref": "#/$defs/playback_file_upload_answer_changed_event"
        },
        {
          "$ref": "#/$defs/playback_answer_recording_event"
        },
        {
          "$ref": "#/$defs/playback_answer_recording_started_event"
        },
        {
          "$ref": "#/$defs/playback_file_edited_event"
        },
        {
          "$ref": "#/$defs/playback_file_event"
        },
        {
          "$ref": "#/$defs/playback_file_renamed_event"
        },
        {
          "$ref": "#/$defs/playback_terminal_command_started_event"
        },
        {
          "$ref": "#/$defs/playback_terminal_command_ended_event"
        },
        {
          "$ref": "#/$defs/playback_test_results_changed_event"
        },
        {
          "$ref": "#/$defs/playback_ide_session_started_event"
        },
        {
          "$ref": "#/$defs/playback_ide_tab_event"
        },
        {
          "$ref": "#/$defs/playback_ide_active_view_changed_event"
        },
        {
          "$ref": "#/$defs/playback_ide_extension_added_event"
        },
        {
          "$ref": "#/$defs/playback_ide_extension_removed_event"
        },
        {
          "$ref": "#/$defs/playback_breakpoint_event"
        },
        {
          "$ref": "#/$defs/playback_debug_session_event"
        },
        {
          "$ref": "#/$defs/playback_task_execution_started_event"
        },
        {
          "$ref": "#/$defs/playback_task_execution_ended_event"
        },
        {
          "$ref": "#/$defs/playback_file_uploaded_event"
        },
        {
          "$ref": "#/$defs/playback_terminal_command_output_emitted_event"
        },
        {
          "$ref": "#/$defs/playback_text_selection_changed_event"
        },
        {
          "$ref": "#/$defs/playback_project_text_selection_changed_event"
        },
        {
          "$ref": "#/$defs/playback_answer_diagnostics_changed_event"
        },
        {
          "$ref": "#/$defs/playback_project_answer_diagnostics_changed_event"
        },
        {
          "$ref": "#/$defs/playback_file_content_event"
        }
      ]
    },
    "playback_file_content_data": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "description": "path of the file in the project"
        },
        "content": {
          "type": "string",
          "description": "the whole content of the file, its initial content on FILE_CREATED; absent on a notebook opened in the editor"
        }
      }
    },
    "playback_file_content_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "FILE_CREATED: the candidate created a file from the editor. FILE_OPENED (verbose): the candidate opened a file. FILE_CREATED_ON_DISK / FILE_CHANGED_ON_DISK (verbose): a file was created / changed outside the editor, for instance by a command of the terminal",
          "enum": [
            "FILE_CREATED",
            "FILE_OPENED",
            "FILE_CREATED_ON_DISK",
            "FILE_CHANGED_ON_DISK"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_file_content_data"
        }
      },
      "description": "a file of a PROJECT question was created, opened, or created or changed outside the editor"
    },
    "playback_file_data": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "description": "path of the file in the project"
        }
      }
    },
    "playback_file_diagnostic": {
      "type": "object",
      "properties": {
        "message": {
          "type": "string",
          "description": "message of the diagnostic"
        },
        "severity": {
          "type": "string",
          "description": "severity of the diagnostic, absent when the editor reported an unknown one",
          "enum": [
            "ERROR",
            "WARNING",
            "INFO",
            "HINT"
          ]
        },
        "range": {
          "$ref": "#/$defs/playback_text_range"
        },
        "source": {
          "type": "string",
          "description": "tool that reported the diagnostic"
        }
      },
      "description": "every diagnostic of the file after the change"
    },
    "playback_file_edited_data": {
      "type": "object",
      "properties": {
        "edit_type": {
          "type": "string",
          "description": "how the text changed, for instance typed, paste (text copied from the workspace) or external_paste (text that does not come from the workspace, likely copied from outside)"
        },
        "path": {
          "type": "string",
          "description": "path of the file in the project"
        },
        "offset": {
          "type": "integer",
          "description": "zero based position, in characters, where the change starts",
          "format": "int32"
        },
        "replaced_length": {
          "type": "integer",
          "description": "number of characters replaced, 0 for a plain insertion",
          "format": "int32"
        },
        "inserted_text": {
          "type": "string",
          "description": "inserted text, empty for a plain deletion"
        },
        "notebook_cell_index": {
          "type": "integer",
          "description": "zero based index of the notebook cell edited, on a notebook file only",
          "format": "int32"
        }
      }
    },
    "playback_file_edited_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "FILE_EDITED: the candidate edited a file of a PROJECT question in the editor",
          "enum": [
            "FILE_EDITED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_file_edited_data"
        }
      },
      "description": "the candidate edited a file of a PROJECT question"
    },
    "playback_file_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "FILE_DELETED / FILE_SAVED: the candidate deleted / saved a file from the editor. FILE_CLOSED (verbose): the candidate closed a file. FILE_DELETED_ON_DISK (verbose): a file was deleted outside the editor, for instance by a command of the terminal",
          "enum": [
            "FILE_DELETED",
            "FILE_SAVED",
            "FILE_CLOSED",
            "FILE_DELETED_ON_DISK"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_file_data"
        }
      },
      "description": "a file of a PROJECT question was closed, saved or deleted"
    },
    "playback_file_renamed_data": {
      "type": "object",
      "properties": {
        "old_path": {
          "type": "string",
          "description": "previous path of the file in the project"
        },
        "new_path": {
          "type": "string",
          "description": "new path of the file in the project"
        }
      }
    },
    "playback_file_renamed_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "FILE_RENAMED: the candidate renamed or moved a file of a PROJECT question",
          "enum": [
            "FILE_RENAMED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_file_renamed_data"
        }
      },
      "description": "the candidate renamed or moved a file of a PROJECT question"
    },
    "playback_file_upload_answer_changed_data": {
      "type": "object",
      "properties": {
        "filename": {
          "type": "string",
          "description": "name of the uploaded file, absent when there is none"
        },
        "comment": {
          "type": "string",
          "description": "comment of the candidate"
        }
      }
    },
    "playback_file_upload_answer_changed_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "FILE_UPLOAD_ANSWER_CHANGED: the candidate uploaded a file, removed it or edited their comment on a FILE_UPLOAD question",
          "enum": [
            "FILE_UPLOAD_ANSWER_CHANGED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_file_upload_answer_changed_data"
        }
      },
      "description": "the candidate changed their answer on a FILE_UPLOAD question"
    },
    "playback_file_uploaded_data": {
      "type": "object",
      "properties": {
        "filename": {
          "type": "string",
          "description": "name of the uploaded file"
        },
        "mime_type": {
          "type": "string",
          "description": "MIME type of the uploaded file"
        },
        "size_bytes": {
          "type": "integer",
          "description": "size of the uploaded file, in bytes",
          "format": "int64"
        },
        "target_path": {
          "type": "string",
          "description": "where the file was uploaded in the project"
        }
      }
    },
    "playback_file_uploaded_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "FILE_UPLOADED: the candidate uploaded a file to the project",
          "enum": [
            "FILE_UPLOADED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_file_uploaded_data"
        }
      },
      "description": "the candidate uploaded a file to the project of a PROJECT question"
    },
    "playback_ide_active_view_changed_data": {
      "type": "object",
      "properties": {
        "view_id": {
          "type": "string",
          "description": "id of the view in the IDE"
        }
      }
    },
    "playback_ide_active_view_changed_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "IDE_ACTIVE_VIEW_CHANGED: the candidate switched to another view of the IDE, such as the explorer, the search or the debugger",
          "enum": [
            "IDE_ACTIVE_VIEW_CHANGED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_ide_active_view_changed_data"
        }
      },
      "description": "the candidate switched to another view of the IDE of a PROJECT question"
    },
    "playback_ide_extension_added_data": {
      "type": "object",
      "properties": {
        "extension_id": {
          "type": "string",
          "description": "id of the extension"
        },
        "installed_by_default": {
          "type": "boolean",
          "description": "whether the IDE installs the extension by default, rather than the candidate"
        }
      }
    },
    "playback_ide_extension_added_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "IDE_EXTENSION_ADDED: an extension was installed or enabled in the IDE",
          "enum": [
            "IDE_EXTENSION_ADDED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_ide_extension_added_data"
        }
      },
      "description": "an extension was installed or enabled in the IDE of a PROJECT question"
    },
    "playback_ide_extension_removed_data": {
      "type": "object",
      "properties": {
        "extension_id": {
          "type": "string",
          "description": "id of the extension"
        }
      }
    },
    "playback_ide_extension_removed_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "IDE_EXTENSION_REMOVED: an extension was removed or disabled in the IDE",
          "enum": [
            "IDE_EXTENSION_REMOVED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_ide_extension_removed_data"
        }
      },
      "description": "an extension was removed or disabled in the IDE of a PROJECT question"
    },
    "playback_ide_session_started_data": {
      "type": "object",
      "properties": {
        "active_tab": {
          "$ref": "#/$defs/playback_ide_tab"
        },
        "visible_tabs": {
          "type": "array",
          "description": "the visible tabs",
          "items": {
            "$ref": "#/$defs/playback_ide_tab"
          }
        },
        "open_tabs": {
          "type": "array",
          "description": "every open tab",
          "items": {
            "$ref": "#/$defs/playback_ide_tab"
          }
        },
        "breakpoints": {
          "type": "array",
          "description": "the breakpoints already set",
          "items": {
            "$ref": "#/$defs/playback_breakpoint"
          }
        },
        "installed_extension_ids": {
          "type": "array",
          "description": "ids of the installed extensions",
          "items": {
            "type": "string",
            "description": "ids of the installed extensions"
          }
        }
      }
    },
    "playback_ide_session_started_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "IDE_SESSION_STARTED: an IDE session of a PROJECT question started, with the state of the IDE at that moment",
          "enum": [
            "IDE_SESSION_STARTED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_ide_session_started_data"
        }
      },
      "description": "an IDE session of a PROJECT question started"
    },
    "playback_ide_tab": {
      "type": "object",
      "properties": {
        "label": {
          "type": "string",
          "description": "label shown on the tab"
        },
        "path": {
          "type": "string",
          "description": "path in the project of the file shown in the tab, absent when the tab does not show a file"
        }
      },
      "description": "a tab of the IDE of a PROJECT question"
    },
    "playback_ide_tab_event": {
      "type": "object",
      "properties": {
        "relative_time_ms": {
          "type": "integer",
          "description": "moment of the event in the playback, in milliseconds. On a PROJECT question, the time elapsed since the first event. On any other question, the time the candidate spent on the question: each time they left it and came back counts as one second",
          "format": "int64"
        },
        "type": {
          "type": "string",
          "description": "IDE_TAB_OPENED / IDE_TAB_CLOSED (verbose): the candidate opened / closed a tab. IDE_TAB_SHOWN / IDE_TAB_HIDDEN (verbose): a tab became visible / hidden. IDE_ACTIVE_TAB_CHANGED: the candidate switched to another tab, data is empty when no tab is active",
          "enum": [
            "IDE_TAB_OPENED",
            "IDE_TAB_CLOSED",
            "IDE_TAB_SHOWN",
            "IDE_TAB_HIDDEN",
            "IDE_ACTIVE_TAB_CHANGED"
          ]
        },
        "data": {
          "$ref": "#/$defs/playback_ide_tab"
        }
      },
      "description": "the candidate acted on a tab of the IDE of a PROJECT question"
    },
    "playback_mcq_answer_changed_data": {
      "type": "object",
      "properties": {
        "selected_choice_indexes": {
          "type": "array",
          "description": "zero based positions of the choices selected after the change, in mcq_details.choices of GET /tests/{id}

# --- truncated at 32 KB (52 KB total) ---
# Full source: https://artifacts.apis.io/coderpad/json-schema/coderpad-playback-events-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/coderpad-playback-events"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.