Forecast digest - Pre-summarized next 24h, 7d, 30d, and 90d rollups
post_forecast_digestRoll the cross-domain forecast for a single birth subject into four pre-summarized windows: the next 24 hours, 7 days, 30 days, and 90 days from the start date. Each window returns its event count, a per-domain count breakdown, a per-type count breakdown, and the top highest-significance events. Built for a glanceable what-is-coming strip so a caller can render the upcoming highlights without scanning the full event list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of highest-significance events to surface per window. Defaults to 3, capped at 20. | |
| lang | No | Response language (BCP 47). Supported: en, tr, de, es, hi, pt, fr, ru, zh-Hans, zh-Hant. Defaults to en. Coverage varies by domain, and a field with no translation in the requested language returns English. | en |
| compact | No | Set true for the same data in a compact shape: arrays of same-shaped objects arrive columnar as {"__cols":[names],"__rows":[[values]]}. Lossless, typically 40 to 52 percent fewer tokens. | |
| domains | No | Which forecast domains to include before rolling up the windows. Defaults to all three. | |
| birthData | Yes | The single birth subject this digest is built for. One object only, never an array. | |
| startDate | No | Start anchor for every window in YYYY-MM-DD format. The next 24h, 7d, 30d, and 90d windows are measured forward from this date at 00:00:00 UTC. Defaults to today in UTC. | |
| domainWeights | No | Per-domain significance multipliers applied before the significance floor and event cap. Bias which domains survive filtering and the cap. Omitted domains default to a weight of 1. Valid keys are western, vedic, and biorhythm. | |
| minSignificance | No | Drop events scoring below this significance threshold from 0 to 100 before the rollup. Defaults to 0. |