Skip to main content

Type Alias: WorkspaceClientLike

type WorkspaceClientLike = 
  | WorkspaceRequestClientLike
  | ApiClientLike & {
  config: {
     ensureResolved: Promise<void>;
  };
};

Structural shape of a Databricks SDK client used by fromSupervisorApi. Only what we need: request for streaming. A legacy SDK client (apiClient.request + config.ensureResolved) is still accepted (deprecated).

Exported because SupervisorApiAdapterOptions.workspaceClient (a public type) references it — callers passing their own client can name the shape they need to satisfy.

Databricks Developer Hub

Ready to ship your next agentic app in minutes?

Read docs