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

# Get v1insights



## OpenAPI

````yaml /openapi.json get /v1/insights
openapi: 3.1.0
info:
  title: Lighthouse API
  description: Lighthouse funeral home management API
  license:
    name: ''
  version: 1.0.0
servers:
  - url: https://api.lighthousefh.com
    description: Production
security:
  - bearer_auth: []
tags:
  - name: Health
    description: Health check endpoints
  - name: Cases
    description: Case management
  - name: Calls
    description: Call recordings and transcriptions
  - name: Clips
    description: Short audio clips and transcripts
  - name: Users
    description: User management
  - name: Organizations
    description: Organization management
  - name: Locations
    description: Location management
  - name: Case Data
    description: Custom case data values
  - name: Case Data Fields
    description: Custom case data field definitions
  - name: Generations
    description: User-sourced generation overrides
  - name: Generation Templates
    description: AI generation templates
  - name: Generation Feedback
    description: End-user feedback on generations
  - name: Generation Labels
    description: Generation quality labels
  - name: Generation Quality Test
    description: Generation quality testing
  - name: Generation Template Dependencies
    description: Template dependency management
  - name: Score Instructions
    description: Score instructions for generation templates
  - name: Tasks
    description: Case tasks
  - name: Insights
    description: Org insights dashboard and agent analysis reads
  - name: Conversations
    description: Assistant chat conversations
  - name: User Preferences
    description: User preference settings
  - name: User Managers
    description: User-manager relationships
  - name: User Permissions
    description: User permission management
  - name: Roleplay Categories
    description: Roleplay category (skill) catalog
  - name: Roleplay Complications
    description: Roleplay complications catalog
  - name: Roleplay Personas
    description: Roleplay persona catalog
  - name: Roleplay Phases
    description: Roleplay phase catalog
  - name: Roleplay Runs
    description: Completed roleplay runs
  - name: Roleplay Scenarios
    description: Roleplay scenarios
  - name: Roleplay Voices
    description: Roleplay voice catalog
  - name: Scenario Score Templates
    description: Scenario scoring template attachments
paths:
  /v1/insights:
    get:
      tags:
        - Insights
      operationId: get_insights
      responses:
        '200':
          description: Insight page data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_InsightPageData'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      security:
        - bearer_auth: []
components:
  schemas:
    ApiResponse_InsightPageData:
      type: object
      required:
        - status
        - timestamp
      properties:
        data:
          type: object
          required:
            - arrangements
            - going_well
            - improvements
            - graph_data
            - graph_lines
            - generation_cards
          properties:
            arrangements:
              type: integer
              format: int64
            generation_cards:
              type: array
              items:
                $ref: '#/components/schemas/GenerationCardData'
            going_well:
              type: array
              items:
                type: string
            graph_data:
              type: array
              items: {}
            graph_lines:
              type: array
              items:
                $ref: '#/components/schemas/GraphLineConfig'
            improvements:
              type: array
              items:
                type: string
            scorecard:
              oneOf:
                - type: 'null'
                - $ref: '#/components/schemas/ScorecardData'
        message:
          type:
            - string
            - 'null'
        request_id:
          type:
            - string
            - 'null'
        status:
          type: string
        timestamp:
          type: string
          format: date-time
    ApiError:
      type: object
      required:
        - status
        - error
        - message
        - status_code
        - timestamp
      properties:
        error:
          type: string
        message:
          type: string
        request_id:
          type:
            - string
            - 'null'
        status:
          type: string
        status_code:
          type: integer
          format: int32
          minimum: 0
        timestamp:
          type: string
          format: date-time
    GenerationCardData:
      type: object
      required:
        - template_uuid
        - name
        - percentage
        - occurred
        - total
        - group
      properties:
        group:
          $ref: '#/components/schemas/Group'
        name:
          type: string
        occurred:
          type: integer
          format: int64
        percentage:
          type: number
          format: double
        template_uuid:
          type: string
        total:
          type: integer
          format: int64
    GraphLineConfig:
      type: object
      required:
        - data_key
        - name
        - color
        - group
      properties:
        color:
          type: string
        data_key:
          type: string
        group:
          $ref: '#/components/schemas/Group'
        name:
          type: string
    ScorecardData:
      type: object
      required:
        - average_score
        - breakdown
      properties:
        average_score:
          type: number
          format: double
        breakdown:
          type: array
          items:
            $ref: '#/components/schemas/ScorecardBreakdownItem'
    Group:
      type: string
      enum:
        - summary
        - template
        - recipe
        - present
        - connect
        - trust
        - understanding_the_why
        - the_close
        - meaningful_questions
        - arrangement_presence
        - death_certificate
        - funeral_service
        - contract_details
        - disposition
        - internal
        - arrangement_insight_summary
        - action_item
        - inputs
        - obituary
        - task
        - live_call
    ScorecardBreakdownItem:
      type: object
      required:
        - template_uuid
        - name
        - score
        - weight
      properties:
        name:
          type: string
        score:
          type: number
          format: double
        template_uuid:
          type: string
        weight:
          type: number
          format: double
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer

````