Download Spark Driver logs and event logs from Databricks using API

Wayne
New Contributor III

Reference:

PY SDK 

I can't find any API directly to download the logs. Did I miss anything?
Otherwise, I can download via DBFS cluster logs location.