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.
Inclusive lower bound on createdAt. ISO 8601 date-time; a value with no offset is read as UTC.
before
string
No
Inclusive upper bound on createdAt. ISO 8601 date-time; a value with no offset is read as UTC. Must be on or after after.
Output field
Type
Description
responses
array
Responses, newest first.
responses[].id
string
The Response identifier.
responses[].respondent
string
The caller-supplied respondent identifier.
responses[].data
JSON
Answers, keyed by Question identifier. See below.
responses[].clientMetadata
JSON
Metadata supplied by the client that recorded it.
responses[].createdAt
string
ISO 8601 timestamp.
nextCursor
string, optional
Cursor for the next page; omitted on the last page.
A bug-report answer is returned as the full report, not just its ID.
It has the same shape as the server API's expanded bug report: title, description, metadata, hasScreenshot, hasRecording, and a dashboard url.
Screenshots and recordings can only be viewed on the dashboard.
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.