> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gleap.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get survey insights

> The stored AI insights: `{ themes, summary, drivers, segments, alerts, updatedAt }`. Never runs the model.
Query `version` (a positive integer, the Results page's version filter): each theme's `count` is that
version's mentions and the result carries `version: N`; summary, drivers, segments and alerts stay
across all versions.



## OpenAPI

````yaml https://api.gleap.io/api-docs.json get /engagement/surveys/{surveyId}/insights
openapi: 3.0.0
info:
  title: gleap-server
  version: 14.0.0
  contact: {}
servers:
  - url: https://api.gleap.io/v3
security: []
paths:
  /engagement/surveys/{surveyId}/insights:
    get:
      tags:
        - Engagement Survey
      summary: Get survey insights
      description: >-
        The stored AI insights: `{ themes, summary, drivers, segments, alerts,
        updatedAt }`. Never runs the model.

        Query `version` (a positive integer, the Results page's version filter):
        each theme's `count` is that

        version's mentions and the result carries `version: N`; summary,
        drivers, segments and alerts stay

        across all versions.
      operationId: Insights
      parameters:
        - in: path
          name: surveyId
          required: true
          schema:
            type: string
        - in: header
          name: project
          required: true
          schema:
            type: string
        - in: query
          name: version
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema: {}
      security:
        - jwt: []
components:
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.