v4

OpenAPI 3.0.02026-07-31257282489.4 KB
Engagement Survey

Summarize survey responses

Generate an AI summary of a survey's responses. Uses up to the 999 newest responses, truncated to fit a 30,000-token budget, so very large surveys are summarized from a recent subset. The generated summary is also stored on the survey as aiSummary. Consumes AI credits; returns { summary } and fails with 409 when generation fails.

get/engagement/surveys/{surveyId}/responses/summarize

Path parameters

surveyIdstring required

Headers

projectstring required

Response

Ok

{"stackTrail":"paths:/engagement/surveys/{surveyId}/responses/summarize:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}