Skip to content

Type Alias: ScoredEndpoint

ScoredEndpoint = z.infer<typeof ScoredEndpointSchema>

One endpoint paired with its fuzzy-match distance.

  • endpoint: Candidate serving endpoint.
  • endpoint.name: Serving endpoint invoke id.
  • endpoint.displayName (optional): Human-readable label when the workspace provides one.
  • endpoint.family (optional): Detected model family used for grouping and sort order.
  • endpoint.task (optional): Databricks serving task reported for the endpoint.
  • endpoint.state (optional): Serving endpoint lifecycle state.
  • endpoint.description (optional): Workspace-provided endpoint description.
  • endpoint.supportsTools (optional): True when the endpoint accepts tool calls.
  • endpoint.profile (optional): Relative quality, speed, and cost scores.
  • endpoint.profile.quality (optional): Relative quality score for ranking.
  • endpoint.profile.speed (optional): Relative speed score for ranking.
  • endpoint.profile.cost (optional): Relative cost score for ranking.
  • endpoint.class (optional): Intent-oriented class assigned to this endpoint.
  • endpoint.serviceNames (optional): Provider-specific service name aliases keyed by protocol.
  • endpoint.modelServiceName (optional): Canonical model-service name used for metadata lookup.
  • endpoint.reasoningEfforts (optional): Reasoning effort values this endpoint accepts.
  • endpoint.status (optional): Retirement status for this endpoint.
  • endpoint.status.deprecated (optional): True when the model should no longer be selected by default.
  • endpoint.dimension (optional): Embedding vector size when the endpoint is an embedding model.
  • score: Fuzzy-match distance in the range 0 to 1.