You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add settings dialog with theme switcher, timezone, language, and startup scripts
New settings modal (gear icon in topbar) with timezone selector, language
picker, and 7 themes (4 dark + 3 light) applied via CSS custom properties.
Settings persist to localStorage. Added cross-platform startup scripts
(start.sh, start.command, start.bat) that handle venv creation and
dependency installation. Updated README with full Account API coverage
and all new features.
Co-authored-by: Isaac
Copy file name to clipboardExpand all lines: README.md
+93-36Lines changed: 93 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Databricks API Explorer
2
2
3
-
An ultra-modern, interactive REST API explorer for Databricks workspaces. Built as a Databricks App with dual-mode authentication — runs locally via Databricks CLI SSO and in production as a Databricks App using On-Behalf-Of (OBO) authentication.
3
+
An ultra-modern, interactive REST API explorer for Databricks — covering both **Workspace** and **Account-level** APIs. Built as a Databricks App with dual-mode authentication: runs locally via Databricks CLI SSO and in production as a Databricks App using On-Behalf-Of (OBO) authentication.
4
4
5
5
---
6
6
@@ -14,7 +14,10 @@ An ultra-modern, interactive REST API explorer for Databricks workspaces. Built
14
14
15
15
### API Coverage
16
16
17
-
-**15 API categories** with **45+ endpoints** across the full Databricks REST API surface:
17
+
-**32 API categories** with **76 endpoints** across both Workspace and Account REST API surfaces
18
+
-**Scope switcher** in the sidebar toggles between Workspace and Account API views
19
+
20
+
#### Workspace APIs (16 categories, 45 endpoints)
18
21
19
22
| Category | Endpoints |
20
23
|---|---|
@@ -23,7 +26,7 @@ An ultra-modern, interactive REST API explorer for Databricks workspaces. Built
23
26
| Workspace | List Objects, Get Status, Search |
24
27
| DBFS | List Files, Get File Status |
25
28
| SQL Warehouses | List, Get, List Saved Queries |
26
-
| Unity Catalog | List Catalogs, Schemas, Tables, Volumes, Get Metastore |
29
+
| Unity Catalog | List Catalogs, Schemas, Tables, Volumes, Get Table, Get Metastore |
@@ -35,18 +38,40 @@ An ultra-modern, interactive REST API explorer for Databricks workspaces. Built
35
38
| Repos | List Repos |
36
39
| Permissions | Get Cluster, Job, and Warehouse Permissions |
37
40
41
+
#### Account APIs (16 categories, 31 endpoints)
42
+
43
+
| Category | Endpoints |
44
+
|---|---|
45
+
| Account Users | List Users, Get User |
46
+
| Account Groups | List Groups, Get Group |
47
+
| Service Principals | List Service Principals, Get Service Principal |
48
+
| Workspaces | List Workspaces, Get Workspace |
49
+
| Credentials | List Credential Configs, Get Credential Config |
50
+
| Storage | List Storage Configs, Get Storage Config |
51
+
| Networks | List Network Configs, Get Network Config |
52
+
| Private Access | List Private Access Settings, Get Private Access Settings |
53
+
| VPC Endpoints | List VPC Endpoints, Get VPC Endpoint |
54
+
| Encryption Keys | List Encryption Key Configs, Get Encryption Key Config |
55
+
| Log Delivery | List Log Delivery Configs, Get Log Delivery Config |
56
+
| Budgets | List Budgets, Get Budget |
57
+
| Usage Download | Download Usage (CSV) |
58
+
| Account Metastores | List Metastores, Get Metastore, List Metastore Assignments |
59
+
| Account Access Control | Get Rule Set |
60
+
| Account Settings | Get Personal Compute Setting, List IP Access Lists |
61
+
38
62
### Authentication
39
63
40
64
-**Local mode** — authenticates via the Databricks CLI (`~/.databrickscfg`). Supports all CLI auth flows: OAuth/SSO (browser-based), PAT, Azure Service Principal, Azure Managed Identity, OAuth M2M.
41
65
-**Databricks App mode** — auto-detected at runtime. Uses On-Behalf-Of (OBO) authentication: the user's access token is forwarded via the `x-forwarded-access-token` HTTP header, so every API call runs as the logged-in user. No token configuration required.
42
66
-**Custom URL / PAT** — optionally specify any workspace URL and Personal Access Token directly in the UI, bypassing the CLI entirely.
67
+
-**Account API auth** — account-scope endpoints automatically derive the accounts console URL from the workspace host and obtain an account-level token.
43
68
44
69
### Connection Management
45
70
46
71
-**User identity panel** — click the username chip in the top bar to open a slide-down panel showing:
47
72
- Display name, username, active status
48
73
- Auth type (OBO, OAuth/SSO, PAT, Azure SP, etc.)
49
-
- Workspace host
74
+
- Workspace host and account ID
50
75
- User ID and primary email
51
76
- Group memberships (up to 20, with overflow count)
52
77
-**CLI profile switcher** — all profiles from `~/.databrickscfg` are listed and refreshed on every panel open. Switch profiles without restarting the app.
@@ -59,23 +84,41 @@ An ultra-modern, interactive REST API explorer for Databricks workspaces. Built
59
84
-**Path parameter interpolation** — path parameters (e.g. `{cluster_id}`) are extracted from the URL and shown as dedicated fields
60
85
-**JSON body editor** — POST endpoints show a pre-populated JSON textarea with the correct request schema
61
86
-**Real-time search** — filter endpoints across all categories by name, path, method, or category
87
+
-**Configurable timeout** — per-request timeout control with a spinner input next to the Execute button (defaults vary by endpoint, e.g. 120 s for Usage Download)
88
+
-**Auto-fill account ID** — account-scope endpoints automatically populate the `account_id` field from the current CLI profile
62
89
63
90
### Response Viewer
64
91
65
-
-**Syntax-highlighted JSON** — token-level syntax coloring using Dash `html.Span` components (no `dangerousHTML` injection)
92
+
-**Collapsible JSON tree** — interactive tree viewer rendered in an iframe with expand/collapse toggles, inline syntax highlighting, and compact previews for collapsed nodes
93
+
-**Inline ID links** — list API responses render clickable ID chips on matching fields; clicking one fires the corresponding Get API and pre-fills the parameter form
94
+
-**Side panel with chip list** — list responses show a scrollable side panel of result chips with labels, allowing quick drill-down into individual items
95
+
-**Action buttons on chips** — some list endpoints expose secondary actions (e.g. "List workspace assignments" on metastores) directly on each chip
66
96
-**Response metadata bar** — HTTP status code (color-coded), latency in ms, item count for list responses, full request URL
67
-
-**Large response handling** — responses over 50 000 characters are truncated with a clear notice
68
-
-**Side-by-side layout** — fixed 360 px parameter panel on the left, full-height response panel on the right
97
+
-**CSV viewer** — endpoints that return CSV data (e.g. Usage Download) are rendered as a scrollable HTML table
98
+
-**curl command** — every executed request generates a ready-to-copy `curl` command displayed below the Execute button, with a one-click copy button
99
+
100
+
### Pagination
101
+
102
+
-**Automatic pagination** — when a response contains a `next_page_token`, the app automatically fetches subsequent pages and merges them into a single result
103
+
-**"Load All" button** — for APIs with `has_more`-style pagination, a "Load All" button in the side panel fetches all remaining pages in a background thread with live progress updates
104
+
-**Abort controls** — both automatic pagination and Load All can be cancelled mid-flight; Load All auto-cancels when switching to a different endpoint
105
+
106
+
### Resizable Side Panel
107
+
108
+
-**Drag-to-resize** — the side panel has a left-edge resize handle; drag to adjust width between 20% and 80% of the viewport
109
+
-**Persistent width** — panel width is saved to `localStorage` and restored across page reloads
69
110
70
111
### UI & UX
71
112
72
113
-**Glassmorphism dark theme** — custom CSS with CSS variables, neon accent colors, backdrop-filter blur effects
73
114
-**CYBORG Bootstrap theme** via `dash-bootstrap-components`
115
+
-**Scope switcher** — toggle between Workspace and Account API catalogs in the sidebar
74
116
-**Mode badge** in the top bar shows whether running as `Local Mode` or `Databricks App`
75
-
-**Workspace host display** in the top bar
117
+
-**Workspace host display** in the top bar with a clickable link to the workspace
76
118
-**Auto-incrementing build version** — `version.py` bumps a counter on every app start, displayed as `v<N>` in the topbar
77
119
-**Accordion sidebar** with category icons, per-category endpoint counts, and method color badges (GET/POST/PUT/DELETE/PATCH)
78
120
-**Active endpoint highlighting** — selected endpoint button is highlighted in the sidebar
121
+
-**Debug bar patches** — MutationObserver removes the Plotly Cloud button and injects workspace URL links into the Dash debug bar
79
122
80
123
---
81
124
@@ -93,24 +136,24 @@ An ultra-modern, interactive REST API explorer for Databricks workspaces. Built
0 commit comments