Api to interact with livebook cells?

is there a livebook api to read the content of cells, create new cells, etc. from code within the running notebook?

1 Like

I keep coming back to this example as a way of automating Livebook. It’s 9 months old so it could easily be broken now but it shows how to load notebooks and evaluate cells.

This is outside of Livebook to my knowledge but there isn’t much in the way of how that is supposed to execute. I don’t believe notebooks have access to the Livebook namespace to automate actions but I haven’t really been keeping track intimately. I’d love to know if you find something more useful or get the above working. I haven’t had a need for it so I hadn’t invested any time in trying to understand how it executes.

2 Likes