How to add notebook to my Databricks jdbc url?

Cano
New Contributor III

Please how do I add a notebook to the jdbc url in order to run queries externally?

jdbc:databricks://dbc-a1b2345c-d6e7.cloud.databricks.com:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/1234567890123456/1234-567890-reef123;AuthMech=3;UID=token;PWD=<personal-access-token>

I appreciate your kind help.

ranged_coop
Valued Contributor II

Not sure if it is possible.

Alternatively you could try adding your notebook to a job, and then triggering that job via jobs api.

Please refer below link

Jobs API 2.1 | Databricks on AWS