Retired_mod
Esteemed Contributor III

Hi @prathameshJoshi, Try this. Should be something like this:

ADMIN_TOKEN="dapi9___________________________"
WORKSPACE="my_workspace.cloud.databricks.com"
CLUSTER="__________"
MPORT="40001"

PREFIX="https://${WORKSPACE}/driver-proxy-api/o/0/${CLUSTER}/${MPORT}"

curl -L -H "Authorization: Bearer $ADMIN_TOKEN" -X GET ${PREFIX}