get_form_stats
Read a form's totals (key scope submissions:read): {value, label, n} for each choice, rating and NPS field, the rating average (average), and NPS (score = share of promoters 9-10 minus share of detractors 0-6, ×100). from / to are months in Japan time (YYYY-MM, both ends included). Without them, all time. Free-text answers are not counted. Nothing that identifies a respondent is included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | The last month, YYYY-MM (optional) | |
| form | Yes | The form's key (the key from list_forms) | |
| from | No | The first month, YYYY-MM (optional) | |
| site | Yes | Site ID (the id from list_sites, e.g. "my-shop") |