Access Dynamo workspace details (zerotouch)

Morning/Afternoon/Evening,
I have been looking around to find a way to access the existing workspace information and persist them in DB. There are few example on how to access the workspace filename using Python but, how do we replicate that within a zerotouch node?
How do we access to:

  • workspace execution time (not interested in the single nodes execution)
  • run complete successfully, with warnings or not executed

and probably this is enough for writing some metrics.
Thanks as usual…