---
title: "Create Scheduled Check"
method: POST
path: "/api/v1/scheduled-checks/"
tags: ["scheduled-checks"]
---

# Create Scheduled Check

`POST /api/v1/scheduled-checks/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/scheduled-checks/`
- Auth: none declared

Create a new scheduled check for an asset.

## Headers

- `Authorization` string

## Request body

- CreateScheduledCheckRequest: Request to create a scheduled check.
  - `asset_id` string, required
  - `check_type` 'schema_change' | 'metrics' | 'data_quality'
  - `schedule_config` ScheduleConfig, required: Schedule configuration from frontend.
    - `minute` string, nullable
    - `hour` string, nullable
    - `day_of_week` string, nullable
    - `day_of_month` string, nullable
    - `timezone` string, nullable
    - `cron_expression` string, nullable
    - `interval_minutes` integer, nullable
  - `is_active` boolean

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