---
title: "Schema Dry Run"
method: POST
path: "/api/v1/sdk/schema/dry-run"
tags: ["public-api", "public-schema"]
---

# Schema Dry Run

`POST /api/v1/sdk/schema/dry-run`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/sdk/schema/dry-run`
- Auth: none declared

Dry-run schema drift detection against current baseline.

Compares the current schema against the baseline to preview what changes
would be detected without actually triggering alerts or persisting changes.

**SDK Usage:**
```python
from anomalyarmor import Client
client = Client()

result = client.schema.dry_run(
    asset_id="my-asset-uuid",
    schedule_type="daily",
)

print(f"Changes detected: {result.changes_detected}")
print(f"Total changes: {result.total_changes}")
print(f"Recommendation: {result.recommendation}")
```

## Headers

- `Authorization` string

## Request body

- SchemaDryRunRequest: Request to dry-run schema drift detection.
  - `asset_id` string, required: Asset UUID or qualified name
  - `schedule_type` string: Schedule interval: '5m', '1h', '6h', '1d', '1w', or legacy aliases: 'hourly', 'daily', 'weekly'
  - `include_column_changes` boolean
  - `include_type_changes` boolean
  - `include_table_additions` boolean
  - `include_table_deletions` 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)
