Skip to content

Function: listServingEndpoints()

listServingEndpoints(client, host, options?): Promise<object[]>

List Model Serving endpoints for the workspace owning client, routed through the shared memory-first cache, including per-entry TTL, in-flight request coalescing, bounded process memory, and portable persistence.

Returns plain ServingEndpointSummary objects (a stable subset of the SDK type) so cache hits never expose stale SDK internals.

WorkspaceClientLike

string

Workspace host used as the cache key. Pass the value resolved from client.config.getHost() so multi-host apps share one entry per workspace.

ListServingEndpointsOptions = {}

Promise<object[]>