Skip to main content
PUT
Upsert Risk Rule

Body

application/json

Accepts both old flat format and new conditions+actions format.

min_trades_to_classify
integer | null
rolling_window_days
integer | null
conditions
Conditions · object | null
actions
Actions · object | null
watchlist
Watchlist · object | null
toxic
Toxic · object | null

Response

Successful Response

id
integer
required
rule
Rule · object
required
updated_by
string<uuid> | null
required
updated_at
string<date-time>
required
created_at
string<date-time>
required