---
title: "Bulk Create Freshness Schedules"
method: POST
path: "/api/v1/sdk/freshness/schedules/bulk"
tags: ["public-api", "public-freshness"]
---

# Bulk Create Freshness Schedules

`POST /api/v1/sdk/freshness/schedules/bulk`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/sdk/freshness/schedules/bulk`
- Auth: none declared

Create multiple freshness monitoring schedules at once.

**SDK Usage:**
```python
client = Client()
result = client.freshness.bulk_create_schedules(
    asset_id="my-asset-uuid",
    schedules=[
        {"table_path": "gold.orders", "check_interval": "1h"},
        {"table_path": "gold.customers", "check_interval": "1h"},
    ],
)
print(f"Created {result['created']} of {len(result['results'])} schedules")
```

## Headers

- `Authorization` string

## Request body

- BulkCreateFreshnessScheduleRequest: Request to create multiple freshness schedules at once.
  - `asset_id` string, required: Asset UUID or qualified name
  - `schedules` BulkCreateFreshnessScheduleItem[], required: List of schedules to create (max 100)
    - `table_path` string, required: Table path (e.g., schema.table_name)
    - `check_interval` string: Check interval: '5m', '1h', '6h', '1d', '1w'
    - `monitoring_mode` string: 'auto_learn' or 'explicit'
    - `expected_interval_hours` number, nullable: Hours until data is considered stale (for explicit mode)
    - `freshness_column` string, nullable: Column to check for freshness (auto-detected if not provided)

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