Databricks pat steps
In the Databricks workspace:
- Open the user menu (avatar, top right) → Settings.
- Go to Developer → Access tokens → Manage.
- Wording can vary by deployment; see the PAT documentation for your cloud.
- Choose Generate new token.
- Optionally set a comment and a lifetime (days until expiry).
- Under Scope, choose Other APIs (not BI Tools).
-
In API scope(s), add all of these:
API scope access-managementappsclusterscustom-llmsgeniejobsknowledge-assistantsmlflowmodel-servingscimsqlsupervisor-agentsunity-catalogvector-searchmlflowandscimare required when trace collection is enabled (TRACE_COLLECTION_ENABLED=true) — for MLflow traces and for resolving user identities in trace metadata.Note
If required scopes are not visible in the API scopes list, create the token using all APIs.
-
Click Generate, then copy the token once while it is shown. It usually starts with
dapi.