We'd use it as we're using the Desmos Calculator API -- we use that to graph functions mentioned in the reply of our math-education oriented chat service :) Obviously, for Desmos Notebook API, we're re-work the reply to fit into Notebook "page" structure much like we do with our existing Word/GDoc/PPTX exports.
https://onenoteschool.com/chatoame-%f0%9f%92%97desmos/ One thing that AI lacks are mathematically-appropriate visualizations using existing/known tools (rather than some hodge-podge of generated code) that arise from the mathematics/pedagogical approach that the replies discuss, and the current API does a good job!