NotebookLM icon

NotebookLM

Interact with Google NotebookLM

Artifact → Create Quiz

AI-generated

Summary

Generate a quiz artifact for a specified notebook using given parameters to configure the number of questions, difficulty level, optional instructions, and source content selection.

Inputs

  • Notebook ID (required) — The ID of the notebook from which to generate the quiz
  • Quantity (required) — The number of quiz questions to generate (Standard=2 or Fewer=1)
  • Difficulty (required) — The difficulty level of the quiz questions (Easy, Medium, or Hard)
  • Instructions — Optional custom instructions to guide quiz generation
  • Source IDs — Comma-separated list of source IDs to use for quiz content; if empty, all sources in the notebook are used

Output shape

a list of quiz artifact objects

Each output item contains the generated quiz details as JSON. The quiz is created asynchronously but returned immediately upon creation API call success.

Links

Discussion