---
title: "Create Freshness Schedule"
method: POST
path: "/api/v1/assets/{asset_id}/freshness/schedules"
tags: ["freshness"]
---

# Create Freshness Schedule

`POST /api/v1/assets/{asset_id}/freshness/schedules`

## Request

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

Create freshness monitoring schedule for a table.

Automatically detects freshness column if not specified and starts
monitoring according to the specified interval.

## Path parameters

- `asset_id` string, uuid, required

## Headers

- `Authorization` string

## Request body

- AppDomainsFeatureDataQualityFreshnessModelsFreshnessModelsCreateScheduleRequest: Request to create freshness monitoring schedule. Note: Validation is handled by FreshnessValidationService
  - `table_path` string, required: Table path (schema.table_name)
  - `check_interval` string, required: Check interval (5m, 1h, 1d)
  - `freshness_column` string, nullable: Column to track freshness
  - `monitoring_mode` string: Monitoring mode: auto_learn or explicit
  - `explicit_sla` ExplicitSLA: User-provided explicit SLA configuration.
    - `update_frequency` string, required: hourly, daily, weekly, weekdays
    - `expected_time` string, required: Expected update time (HH:MM:SS)
    - `expected_days` string[], nullable: Expected days for weekly schedules
    - `sla_hours` number, required: Alert threshold in hours
    - `warning_hours` number, nullable: Warning threshold (optional)
  - `buffer_multiplier` number, nullable: Buffer multiplier for auto-learn mode
  - `business_priority` 'critical' | 'high' | 'medium' | 'low': Business priority values.
  - `business_impact` string, nullable: Description of business impact
  - `notification_recipients` string[], nullable: Email addresses to notify on SLA violations

## Response `201`

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)
