---
title: "Get summary of responses"
method: GET
path: "/api/v1/surveys/{survey_id}/responses/summary/"
tags: ["surveys"]
---

# Get summary of responses

`GET /api/v1/surveys/{survey_id}/responses/summary/`

Get an aggregated summary of responses for a given survey.

## Path parameters

- `survey_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Successful response

- SurveySummary — Responsible for providing a base for all the aggregated answers for a survey.
  - `survey_id` string, required — The survey ID.
  - `questions` SurveySummaryQuestion[] — A list of questions for the given survey.
    - `question_id` string, uuid — The question ID.
    - `question` string, required — The title of the question.
    - `total_answers` integer — The total number of answered responses for a given question.
    - `answers` SurveySummaryAnswer[] — A list of aggregated answer information.
      - `answer_id` string, uuid — The answer ID.
      - `answer` string, required — The answer selected.
      - `count` integer — The count of how many times this answer was used in a response.

## Other responses

- `400` — Error

---

[API](https://skmtc.net/prolific/apis/api-reference.md) · [All operations](https://skmtc.net/prolific/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prolific/api-reference/versions/dc6f073a9827/schema)
