# Obtain the notebook JSON as a string from google.colab import _message notebook_json_string = _message.blocking_request('get_ipynb', request='', timeout_sec=5)