diff --git a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/job.ts b/x-pack/plugins/ml/common/types/anomaly_detection_jobs/job.ts index bf8e3031db975..bc55c7549c589 100644 --- a/x-pack/plugins/ml/common/types/anomaly_detection_jobs/job.ts +++ b/x-pack/plugins/ml/common/types/anomaly_detection_jobs/job.ts @@ -26,6 +26,7 @@ export interface Job { groups: string[]; model_plot_config?: ModelPlotConfig; model_snapshot_retention_days?: number; + daily_model_snapshot_retention_after_days?: number; renormalization_window_days?: number; results_index_name?: string; results_retention_days?: number; diff --git a/x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts b/x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts index 9b86e3e06096e..88b86de322e3c 100644 --- a/x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts +++ b/x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts @@ -112,6 +112,7 @@ export const anomalyDetectionJobSchema = { model_snapshot_id: schema.maybe(schema.string()), model_snapshot_min_version: schema.maybe(schema.string()), model_snapshot_retention_days: schema.maybe(schema.number()), + daily_model_snapshot_retention_after_days: schema.maybe(schema.number()), renormalization_window_days: schema.maybe(schema.number()), results_index_name: schema.maybe(schema.string()), results_retention_days: schema.maybe(schema.number()),