Python API and the scenario log

JohnB
Level 3
Python API and the scenario log

How do you fetch the scenario log via Python?

I can get the individual steps' job logs from last runs using get_log:

https://doc.dataiku.com/dss/latest/python-api/rest-api-client/jobs.html#dataikuapi.dss.job.DSSJob.ge...

How can I get the scenario run log itself?

0 Kudos
2 Replies
Young-Sang_Lee
Dataiker

Hi. I'm afraid there is no API to retrieve the scenario logs.

You can only retrieve the job logs from the python API.

 

Can you share us your use-case?

0 Kudos
JohnB
Level 3
Author

Hi. Thanks for the response.

The use case is in flux at the moment but essentially we have projects and scenarios developed and maintained by a separate team which require some production monitoring. I am trying to avoid tinkering with their stuff to setup reporters etc. the idea is to use the API to run regular checks on their scenario runs but keep our code bases separate.

0 Kudos