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

# Get insights



## OpenAPI

````yaml openapi/lending.yaml get /lending/statements/{id}/insights
openapi: 3.0.3
info:
  title: TXCloud LendingRisk API
  version: 1.0.0
  description: |
    Credit risk assessment and affordability analysis for lending decisions.
    Aggregates data from bank statements, bureaus, and alternative sources.
servers:
  - url: https://api.txcloud.io/v1
  - url: https://sandbox.api.txcloud.io/v1
security:
  - BearerAuth: []
tags:
  - name: Assessment
    description: Credit assessment endpoints
  - name: Income
    description: Income verification
  - name: Statements
    description: Bank statement analysis
  - name: Monitoring
    description: Borrower monitoring
  - name: Models
    description: Scoring models
  - name: Analytics
    description: Portfolio analytics
paths:
  /lending/statements/{id}/insights:
    get:
      tags:
        - Statements
      summary: Get insights
      operationId: getStatementInsights
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Financial insights
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatementInsights'
components:
  schemas:
    StatementInsights:
      type: object
      properties:
        statement_id:
          type: string
        period:
          type: object
        summary:
          type: object
        income:
          type: object
        expenses:
          type: object
        debt_payments:
          type: object
        red_flags:
          type: array
          items:
            type: string
        positive_indicators:
          type: array
          items:
            type: string
        financial_health_score:
          type: integer
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````