public-api
public-metrics
Metrics Dry Run
Dry-run a metric threshold against historical snapshots.
Tests how often a proposed threshold would have triggered alerts based on historical metric values.
SDK Usage:
from anomalyarmor import Client
client = Client()
result = client.metrics.dry_run(
asset_id="asset-uuid",
metric_id="metric-uuid",
threshold_type="upper",
threshold_value=1000,
lookback_days=7,
)
print(f"Alert rate: {result.alert_rate_percent}%")
print(f"Recommendation: {result.recommendation}")
post/api/v1/sdk/metrics/dry-run
Request
- Base URL: http://localhost:8000
- URL: http://localhost:8000/api/v1/sdk/metrics/dry-run
- Auth: none declared
Headers
Authorizationstring
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.