Skip to content

Variable: ServingEndpointsResponseSchema

const ServingEndpointsResponseSchema: ZodObject<{ endpoints: ZodArray<ZodObject<{ class: ZodOptional<ZodEnum<{ chat-balanced: "chat-balanced"; chat-fast: "chat-fast"; chat-thinking: "chat-thinking"; embedding: "embedding"; }>>; description: ZodOptional<ZodString>; dimension: ZodOptional<ZodNumber>; displayName: ZodOptional<ZodString>; family: ZodOptional<ZodString>; modelServiceName: ZodOptional<ZodString>; name: ZodString; profile: ZodOptional<ZodObject<{ cost: ZodOptional<ZodNumber>; quality: ZodOptional<ZodNumber>; speed: ZodOptional<ZodNumber>; }, $strip>>; reasoningEfforts: ZodOptional<ZodArray<ZodEnum<{ high: "high"; low: "low"; max: "max"; medium: "medium"; minimal: "minimal"; none: "none"; xhigh: "xhigh"; }>>>; serviceNames: ZodOptional<ZodRecord<ZodString, ZodString>>; state: ZodOptional<ZodString>; status: ZodOptional<ZodObject<{ deprecated: ZodDefault<ZodBoolean>; }, $strip>>; supportsTools: ZodOptional<ZodBoolean>; task: ZodOptional<ZodString>; }, $strip>>; }, $strip>

JSON payload returned by GET ${basePath}/models. Wraps the shared model.ServingEndpointSummarySchema (re-exported from @dbx-tools/shared-model) so the catalogue descriptor has a single definition the client, server, and the standalone @dbx-tools/model toolkit all agree on.