---
title: "Ask about survey results"
method: POST
path: "/engagement/surveys/{surveyId}/insights/ask"
tags: ["Engagement Survey"]
---

# Ask about survey results

`POST /engagement/surveys/{surveyId}/insights/ask`

## Request

- Base URL: `https://api.gleap.io/v3`
- URL: `https://api.gleap.io/v3/engagement/surveys/{surveyId}/insights/ask`
- Auth: HTTP bearer

Ask Kai about the results. Body `{ question, version? }`; with `version` (a positive integer, the Results
page's version filter) the answers, totals and theme counts are that version's only. Returns `{ answer
(markdown), citations: [{ responseId, quote }], basedOn, version? }`. Uses AI credits (402 when out of AI usage).

## Path parameters

- `surveyId` string, required

## Headers

- `project` string, required

## Request body

- unknown

## Response `200`

Ok

- unknown

## Changes

- **2026-10-08** `fd83cd1963c4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gleap/apis/gleap-server/changes/engagement/surveys/:surveyId/insights/ask/post.md)

---

[API](https://skmtc.dev/gleap/apis/gleap-server.md) - [All operations](https://skmtc.dev/gleap/apis/gleap-server/llms.txt) - [OpenAPI document](https://skmtc.dev/gleap/apis/gleap-server/revisions/3b025e883cef?raw)
