SurveyResultQuestionSummary
Per-question survey summary whose result shapes vary by question type but always stay keyed to the survey question id. Returned within surveyResultSummary.
type SurveyResultQuestionSummary {
id: ID!
surveyId: ID!
position: Int!
type: String!
optional: Boolean!
title: String!
subtext: String
responseCount: Int!
totalViews: Int
keyPhrases: [SurveyResponseSummary]
results: [SurveyResponseSummary]
lastResponses(
limit: Int
): [SurveyResponse]
}
Fields
SurveyResultQuestionSummary.id ● ID! non-null scalar
Question ID within this survey; use it as questionId when sorting surveyResponseList.
SurveyResultQuestionSummary.surveyId ● ID! non-null scalar
SurveyResultQuestionSummary.position ● Int! non-null scalar
Question position stored with its answers, otherwise its zero-based index in the survey content.
SurveyResultQuestionSummary.type ● String! non-null scalar
Question type and subtype joined by /, such as rating/NPS.
SurveyResultQuestionSummary.optional ● Boolean! non-null scalar
SurveyResultQuestionSummary.title ● String! non-null scalar
SurveyResultQuestionSummary.subtext ● String scalar
Supporting question text; null when absent from content.
SurveyResultQuestionSummary.responseCount ● Int! non-null scalar
Distinct nondeleted response groups answering this question in the timestamp window.
SurveyResultQuestionSummary.totalViews ● Int scalar
Recorded question view events in the calendar-date window; zero when no count is available.
SurveyResultQuestionSummary.keyPhrases ● [SurveyResponseSummary] list object
Extracted key phrases with occurrence counts in the timestamp window; empty when none are stored.
SurveyResultQuestionSummary.results ● [SurveyResponseSummary] list object
Answer buckets and row counts: sentiment for text, option text for choices, rating values, or NPS promoters (9-10), passives (7-8), and detractors (below 7).
SurveyResultQuestionSummary.lastResponses ● [SurveyResponse] list object
Returns the most recent raw responses for this question; defaults to 10 items and reuses the parent summary date filters.
SurveyResultQuestionSummary.lastResponses.limit ● Int scalar
Maximum raw answers, default 10; newest answer creation time first.
Member Of
SurveyResultSummary object