File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ # Data Plane APIs
2+
3+ Some APIs such as Model Serving support direct Data Plane access for higher throughput and lower latency requests.
4+ To access Data Plane access, a dedicated short-lived OAuth token must be used. The SDK is able to generate and refresh
5+ such tokens transparently for the user.
6+
7+ ## Prerequisites
8+ Databricks SDK must be configured using a supported OAuth token. For more information, see
9+ [ Supported Databricks authentication types] ( https://docs.databricks.com/en/dev-tools/auth/index.html )
10+
11+ The desired service or endpoint must have direct Data Plane access enabled.
12+
13+ ## Usage
14+ Databricks SDK provides a separate service to be used for Data Plane access, which includes a ` _data_plane ` suffix.
15+ This service contains the subset of the methods for the original service which are supported in the Data Plane.
16+
17+ Example:
18+
19+ ``` python
20+ from databricks.sdk import WorkspaceClient
21+ # Control Plane
22+ w = WorkspaceClient()
23+ w.serving_endpoints.query(... )
24+ # Data Plane
25+ w.serving_endpoints_data_plane.query(... )
26+ ```
27+
You can’t perform that action at this time.
0 commit comments