Skip to main content

Interface: WorkspaceClientLike

Interface: WorkspaceClientLike

Structural shape of a Databricks SDK client used by fromSupervisorApi. Only what we need: apiClient.request for streaming and config.ensureResolved to materialise the host/credentials.

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

Extends

  • ApiClientLike

Properties

apiClient

apiClient: {
  request: Promise<unknown>;
};

request()

request(options: Record<string, unknown>, context?: unknown): Promise<unknown>;

Parameters

ParameterType
optionsRecord<string, unknown>
context?unknown

Returns

Promise<unknown>

Inherited from

ApiClientLike.apiClient

config

config: {
  ensureResolved: Promise<void>;
};

ensureResolved()

ensureResolved(): Promise<void>;

Returns

Promise<void>

Databricks Developer Hub

Ready to ship your next agentic app in minutes?

Read docs