Skip to content

Function: invocationsUrl()

invocationsUrl(host, endpoint): string

The OpenAI-compatible chat-completions invocations URL for an endpoint id.

string

Workspace host, e.g. https://my-workspace.cloud.databricks.com/. Pass the value resolved from client.config.getHost().

string

Endpoint id (already resolved; not fuzzy-matched here).

string