List deployed Databricks asset bundles (DABs)?

Schofield
Databricks Partner

Is there a databricks cli command or REST API to list all the DABs that have been deployed to a workspace?

szymon_dybczak
Esteemed Contributor III

Hi @Schofield ,

Unfortunately, I don't think there is out of the box command that will provide you this information yet. As a workaround, you can try write some code that will extract this information from REST API. For example, you can use /api/2.1/jobs/list to list jobs and then in response you will have info, if this job was uploaded with DAB (along with path to yaml)

Slash_0-1722154931333.png

Same applies to DLT, you can check which pipelines were deployed with DAB using REST API. First use 
/api/2.0/pipelines endpoint to get all pipelines id, and then iteratate over ids and make a request to /api/2.0/pipelines/{pipeline_id} endpoint, which will return info about deployment type

Slash_1-1722155043167.png