CatalogEntry
Example Usage
typescript
import { CatalogEntry } from "@meetkai/mka1/models/components";
let value: CatalogEntry = {
modelId: "<id>",
source: "byo",
origin: "yaml",
activationState: "available_name_blocked",
blockerSource: "cluster",
activatedBy: "<value>",
activatedAt: new Date("2024-11-22T21:34:08.472Z"),
provider: "<value>",
providerModelId: "<id>",
definition: {
"key": "<value>",
"key1": "<value>",
},
health: {
isAvailable: false,
lastHealthCheck: 2087.09,
error: "<value>",
},
createdAt: 5732.9,
updatedAt: 5333.46,
effectivePrice: {
rates: {},
source: "cluster_default",
},
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
modelId | string | ✔️ | N/A |
source | components.RegistrySource | ✔️ | N/A |
origin | components.RegistryModelOrigin | ✔️ | N/A |
activationState | components.CatalogActivationState | ✔️ | N/A |
blockerSource | components.RegistrySource | ✔️ | N/A |
activatedBy | string | ✔️ | N/A |
activatedAt | Date | ✔️ | N/A |
provider | string | ✔️ | N/A |
providerModelId | string | ✔️ | N/A |
definition | Record<string, any> | ✔️ | N/A |
health | components.CatalogHealth | ✔️ | N/A |
createdAt | number | ✔️ | N/A |
updatedAt | number | ✔️ | N/A |
effectivePrice | components.CatalogPricePreview | ✔️ | N/A |