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

# List insights

> List project-scoped insights. Empty projects return an empty list. Pass limit and offset to page; defaults match issues (50 / max 200).



## OpenAPI

````yaml https://api.uselemma.ai/openapi.json get /insights
openapi: 3.1.0
info:
  title: Lemma Platform API
  description: Lemma Platform HTTP API for AI observability and workspace operations.
  version: 0.1.0
servers:
  - url: https://api.uselemma.ai
    description: Lemma production API
security:
  - bearerAuth: []
paths:
  /insights:
    get:
      tags:
        - Insights
      summary: List insights
      description: >-
        List project-scoped insights. Empty projects return an empty list. Pass
        limit and offset to page; defaults match issues (50 / max 200).
      operationId: list_insights
      parameters:
        - name: project_id
          in: query
          required: true
          description: Project ID.
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Maximum number of records to return.
          schema:
            type: integer
            minimum: 1
        - name: offset
          in: query
          required: false
          description: Number of records to skip.
          schema:
            type: integer
            minimum: 0
      responses:
        '200':
          description: Insights list
          content:
            application/json:
              schema:
                type: object
                properties:
                  insights:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        project_id:
                          type: string
                        agent_name:
                          type: string
                        scope:
                          type: string
                          enum:
                            - prompt
                            - tool
                            - env
                            - code
                        identity:
                          type: string
                        title:
                          type: string
                        created_at:
                          type: string
                          format: date-time
                        updated_at:
                          type: string
                          format: date-time
                        member_count:
                          type: integer
                          minimum: 0
                      required:
                        - id
                        - project_id
                        - agent_name
                        - scope
                        - identity
                        - title
                        - created_at
                        - updated_at
                        - member_count
                      additionalProperties: false
                  total:
                    type: number
                  limit:
                    type: number
                  offset:
                    type: number
                  has_more:
                    type: boolean
                required:
                  - insights
                  - total
                  - limit
                  - offset
                  - has_more
                additionalProperties: false
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                required:
                  - detail
                additionalProperties: false
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                required:
                  - detail
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````