NotebookLM icon

NotebookLM

Interact with Google NotebookLM

Source → Wait Until Ready

AI-generated

Summary

Polls the specified source within a notebook until it finishes processing or a timeout occurs.

Inputs

  • Notebook ID (required) — The ID of the notebook containing the source.
  • Source ID (required) — The ID of the source to wait for readiness.
  • Timeout (Seconds) — Maximum number of seconds to wait before timing out (default is 60 seconds).

Output shape

a single JSON object representing the final status of the source after processing or timeout

The operation returns a single result object indicating the readiness status of the source. If the source does not become ready within the specified timeout period, the operation may fail or return the current status depending on the SDK implementation.

Examples

Example 1: Wait for a source to finish processing before proceeding

Provide notebook ID and source ID; optionally specify a timeout in seconds.

Links

Discussion