Generate Report — Unified Dispatcher (V2)
reports_generateGenerate astrology reports for 12 types—natal, synastry, transits, and more—by providing birth chart data and selecting a report type.
Instructions
Single endpoint over the 12 type-specific renderers — pass report_type ("natal" | "transit-yearly" | "synastry" | "business" | "career" | "love" | "money" | "child" | "lal-kitab" | "human-design" | "tarot" | "vedic-kundli") plus the renderer-specific inputs. SDK ergonomics: one method instead of 12. Required fields vary by type — chart for most, chart1+chart2 for synastry, see…
[Group: Reports]
Example request body: {"report_type":"natal","chart":{"date":"1990-05-15","time":"14:30:00","timezoneOffset":3,"latitude":50.45,"longitude":30.52},"language":"uk","whitelabel":{"companyName":"Acme","themeColor":"#ff5500","reportName":"My Cosmic Map"}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report_type | Yes | ||
| chart | No | Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss). Defaults to lat/lon/tz=0 if omitted; pass real values for accurate computation. | |
| chart1 | No | Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss). Defaults to lat/lon/tz=0 if omitted; pass real values for accurate computation. | |
| chart2 | No | Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss). Defaults to lat/lon/tz=0 if omitted; pass real values for accurate computation. | |
| year | No | ||
| spread | No | ||
| seed | No | ||
| name | No | ||
| allowReversed | No | ||
| language | No | ||
| whitelabel | No |