---
title: "Update Freshness Schedule"
method: PUT
path: "/api/v1/assets/freshness/schedules/{schedule_id}"
tags: ["freshness"]
---

# Update Freshness Schedule

`PUT /api/v1/assets/freshness/schedules/{schedule_id}`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/assets/freshness/schedules/{schedule_id}`
- Auth: none declared

Update freshness monitoring schedule.

## Path parameters

- `schedule_id` string, required

## Headers

- `Authorization` string

## Request body

- AppDomainsFeatureDataQualityFreshnessModelsFreshnessModelsUpdateScheduleRequest: Request to update freshness monitoring schedule. Note: Validation is handled by FreshnessValidationService
  - `check_interval` string, nullable: Check interval (5m, 1h, 1d)
  - `freshness_column` string, nullable: Column to track freshness
  - `is_active` boolean, nullable: Enable/disable monitoring
  - `monitoring_mode` string, nullable: Monitoring mode: 'auto_learn' or 'explicit'
  - `expected_interval_hours` number, nullable: Expected update interval in hours (for explicit mode)
  - `expected_update_time` string, nullable: Expected update time pattern (e.g., '05:00' for daily at 5am, ':05' for hourly at 5 past)

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
