Form response statistics
form_statsReports on the responses of one form, such as answer counts per option, average ratings, the NPS or responses per week; it counts every response in the range and returns no answer text. get_submissions reads individual answers. Requires an account key (fh_live_...) of the form's account or the agent key (fh_agent_...) that created the form. since (inclusive, default: when the form was created) and until (exclusive, default: now) take RFC 3339 or a UTC date. interval is day (default), week (weeks start on Monday) or month; buckets are in UTC and a range of more than 366 buckets answers invalid_range: narrow it or use a longer interval.
Returns form_id, since, until, interval, total (responses in the range), series (start and count of each bucket, oldest first, empty buckets included) and fields: one entry per question of the current form version with key, label, type, kind, answered and skipped (total minus answered). By kind:
choice (select, radio, multiselect, checkbox, switch): options (value, label, count; a multiselect answer counts once per option) and other (answers whose value is not an option of the current version). matrix is the key of the matrix section of a matrix row.
scale (scale and rating): points (value, label, count), mean and median. Answers outside the range count as skipped.
nps (a scale from 0 to 10): the same as scale plus nps: score from -100 to 100, promoters (9 and 10), passives (7 and 8), detractors (0 to 6).
number: numbers with count (numeric answers), min, max and mean.
text (text, email, phone, textarea, date, datetime, time, file, hidden, group): answered and skipped only. mean and median are absent when nothing was answered. timing is present when responses in the range were timed by the hosted page or the embed: responses (timed responses, the latest 2000 at most), total_median_ms and questions (key, label, responses, median_ms, p75_ms of the time each question was focused). Calls share the rate limit of submission searches and exports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Only responses at or after this time: RFC 3339 or a UTC date (2026-10-01). Default: when the form was created. | |
| until | No | Only responses before this time: RFC 3339, or a UTC date to include that whole day. Default: now. | |
| form_id | Yes | The 10-character form_id returned by publish_form or list_forms, such as "abcDEF1234". | |
| interval | No | Bucket size of series in UTC: day (default), week (from Monday) or month. At most 366 buckets. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | Yes | ||
| steps | No | ||
| total | Yes | ||
| until | Yes | ||
| fields | Yes | ||
| series | Yes | ||
| timing | No | ||
| form_id | Yes | ||
| interval | Yes |