---
title: "Get survey response samples"
method: GET
path: "/engagement/surveys/{surveyId}/responses/samples"
tags: ["Engagement Survey"]
---

# Get survey response samples

`GET /engagement/surveys/{surveyId}/responses/samples`

Get a random sample of up to 10,000 responses for a survey, for client-side aggregation. Returns
`{ samples, sampleSize, count }` where `count` is the total number of matching responses and
`sampleSize` is the 10,000 sampling ceiling. Each sample is trimmed to `createdAt`, `formData`,
`shareToken` and a minimal `session` (`_id`, `name`, `email`).

## Path parameters

- `surveyId` string, required

## Headers

- `project` string, required

## Response `200`

Ok

- unknown

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/revisions/b8a72fda881e/schema)
