---
title: "Update Row Count Schedule"
method: PATCH
path: "/api/v1/assets/row-count/schedules/{schedule_id}"
tags: ["row-count"]
---

# Update Row Count Schedule

`PATCH /api/v1/assets/row-count/schedules/{schedule_id}`

## Request

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

Update row_count monitoring schedule.

## Path parameters

- `schedule_id` string, required

## Headers

- `Authorization` string

## Request body

- UpdateRowCountScheduleRequest: Request to update row_count monitoring schedule.
  - `timestamp_column` string, nullable: Column to filter rows by time period
  - `time_window_hours` 1 | 6 | 12 | 24 | 168, nullable: Time window for row count measurement
  - `check_interval` string, nullable: Check interval (e.g., '1h', '6h', '1d')
  - `is_active` boolean, nullable: Enable/disable monitoring
  - `monitoring_mode` 'auto_learn' | 'explicit', nullable: Monitoring mode: 'auto_learn' or 'explicit'
  - `expected_min_rows` integer, nullable: For explicit mode: minimum expected rows
  - `expected_max_rows` integer, nullable: For explicit mode: maximum expected rows
  - `sensitivity` integer, nullable: Sensitivity level (1-4)
  - `operating_period_mode` string, nullable: Operating-period awareness (TECH-984): 'off', 'auto', or 'schedule'
  - `operating_schedule_id` string, nullable: Operating schedule public UUID ('schedule' mode)

## 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)
