Rules + notification targets + interval. Re-arm a fired rule to fire it again.
ReferenceConceptual page — applies to multiple endpoints.
A tracker watches one target (URL, ASIN, IG handle, …) on a fixed cadence and runs a list of **rules** against each fresh scrape. When a rule's condition is true, the tracker dispatches the configured `notify_targets` (Telegram / Slack / Discord / Email / Teams / ad-hoc webhook).
**Rule shape:** `{metric_id, operator, threshold, mode}`.
• `metric_id` — platform-specific. Get the full list per platform from `GET /api/v1/tracking/metrics/{platform}`. Amazon: `product.price`, `product.availability`, `product.rating`, `product.reviews`, `product.images_count`. eBay: `product.price`, `product.available_qty`, `product.rating`, `product.bids`. Zillow / Realtor: `property.price`, `property.availability`. TripAdvisor: `hotel.price_min`, `hotel.rating`, `hotel.reviews_count`. Instagram: `profile.followers`, `profile.following`, `profile.post_count`, `profile.follower_change`.
• `operator` — depends on metric kind. Numeric: `lt | lte | gt | gte | eq | neq | drops_by_pct | rises_by_pct | drops_by_amount | rises_by_amount`. Text: `eq | neq | contains | not_contains | changes`. Boolean: `becomes_true | becomes_false | eq`.
• `threshold` — scalar to compare against (or `null` for `changes` / `becomes_*`).
• `mode` — `one_shot` fires once on the false→true transition and stays armed-but-fired until you call the rearm endpoint or the condition flips back. `continuous` fires on every check where the condition is true.
**Notification targets:** `notify_targets: [{cred_id, channel_id?, include_results?} | {ad_hoc_webhook: {url, secret?}}]`. Same shape as the `x-logpose-notify-targets` header on scrape submits. Up to 20 targets.
**Per-platform extras:** Instagram requires either `account_id` (a connected IG account) or auto-rotation across your accounts. Amazon accepts `asin` instead of `url`.
**Re-arming a rule:** `POST /trackers/{tracker_id}/rules/{rule_id}/rearm` resets `alert_triggered` so the rule can fire again. Optional body lets you change `mode` and/or `threshold` at the same time.
Response
placeholder inline shape — run scripts/dump_doc_samples.py on the server to populate real samples.