Call list_teams first to get a teamSlug, then list_surveys to get a
surveyId. From there, use get_survey for the full Question configuration,
list_responses for individual Responses, or get_score_distributions for
aggregate score counts on selected Questions.
For reporting workflows and example prompts, see
Reporting.
Only meaningful for Questions with a numeric score (e.g. rating Questions). A
questionId with no matching Question returns an empty distribution for it
rather than an error. An unknown Survey ID, or one from a different Team,
returns a Not Found error.
Input
Type
Required
Description
teamSlug
string
Yes
Team slug from list_teams.
surveyId
string
Yes
Survey ID from list_surveys.
questionIds
string[]
Yes
1–50 unique Question identifiers from get_survey.
timeRange
string
No
all-time (default), last-7-days, last-30-days, q<1-4>-<year> (within the current or previous 4 quarters, e.g. q1-2026), or custom_<start>_<end> (e.g. custom_2026-01-01_2026-01-31).
Output field
Type
Description
distributions
array
One entry per requested Question, in requested order.
distributions[].questionId
string
The Question identifier.
distributions[].current
array of {score, count}
Score counts for the requested time window.
distributions[].previousQuarter
array of {score, count} | null
Score counts for the previous quarter; null for non-quarter ranges.