---
title: "Policy"
method: POST
path: "/v1/ops/operations/replays/policy"
tags: ["replay analysis"]
---

# Policy

`POST /v1/ops/operations/replays/policy`

## Request

- Base URL: `https://api.stormy.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stormy.ai/v1/ops/operations/replays/policy`
- Auth: none declared

## Headers

- `authorization` string, nullable
- `x-darwin-token` string, nullable

## Request body

- Policy
  - `enabled` boolean
  - `interval_minutes` integer
  - `lookback_days` integer
  - `sessions_per_tick` integer
  - `frame_interval_seconds` integer
  - `max_session_seconds` integer
  - `alert_severities` string[]
  - `alerts_enabled` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

> 68 revisions in range; 1 not diffed.

- **2026-10-04** `bba5cf256363`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/stormy/apis/stormy-control-plane/changes/v1/ops/operations/replays/policy/post.md)

---

[API](https://skmtc.dev/stormy/apis/stormy-control-plane.md) · [All operations](https://skmtc.dev/stormy/apis/stormy-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/stormy/apis/stormy-control-plane/revisions/a40e83844eaa?raw)
