Skip to content

Variable: ServingEndpointsResponseSchema

const ServingEndpointsResponseSchema: ZodObject<{ endpoints: ZodArray<ZodObject<{ class: ZodOptional<ZodEnum<typeof ModelClass>>; description: ZodOptional<ZodString>; dimension: ZodOptional<ZodNumber>; displayName: ZodOptional<ZodString>; name: ZodString; profile: ZodOptional<ZodObject<{ cost: ZodOptional<ZodNumber>; quality: ZodOptional<ZodNumber>; speed: ZodOptional<ZodNumber>; }, $strip>>; state: ZodOptional<ZodString>; 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.