Tasks
Tasks
Daily Triage
Read the log, check invariants, self-correct the allow-list, report the rest.
Runs the same logic as scripts/daily_triage.py. Findings are emitted as structured log lines at ERROR/WARNING so the log-based alert policy picks them up and mails the Ops channel — no separate email path, which matters because notification_service's PAYMENT_FAILED handler is stubbed and send_welcome has never had a caller (NOTIF-1/EMAIL-1/2).
Self-correction is limited to two idempotent, reversible actions and every correction is re-verified; anything still failing escalates rather than retries.
post/api/tasks/daily-triage
Request
- Base URLhttps://api.primetime.media (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
dry_runboolean
Headers
x-cloudscheduler-secretstring nullable
x-scheduler-secretstring nullable
authorizationstring nullable
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 5 revisions of this API.