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

# Transaction summary statistics (Dashboard)

> Returns summary statistics (total deals, total value, avg value, etc.) for the dashboard top cards.



## OpenAPI

````yaml /storage/api-docs/university-api-docs.json get /transactions/summary
openapi: 3.0.0
info:
  title: MOGL University API
  description: "University / Compliance API — managing institution compliance workflows, eligibility checks, athlete disclosures, transactions, analytics, and university-related NIL operations.\r\n *\r\n * ## Authentication\r\n * - **JWT Bearer Token**: Most endpoints require a Bearer token obtained via `/compliance/login`.\r\n *\r\n * ## Base Path\r\n * All endpoints are prefixed with `/api/compliance`."
  version: 1.0.0
servers:
  - url: http://localhost/mogl/mogl-compliance-backend/api/compliance
    description: Local
  - url: https://dev-compliance-api.mogl.online/api/compliance
    description: Dev
  - url: https://staging-compliance-api.mogl.online/api/compliance
    description: Staging
  - url: https://compliance-api.mogl.online/api/compliance
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: Login, registration, password management
  - name: Transactions
    description: Transaction listing, summary, top athletes/teams, export
  - name: Athletes
    description: Athlete management, job details, exports, contract downloads
  - name: Fans
    description: Fan listing
  - name: Analytics
    description: NIL analytics by sport, payment, athletes, types
  - name: College
    description: College users, settings management
  - name: Athlete Agent Disclosures
    description: Agent disclosure CRUD and document downloads
  - name: Notification Preferences
    description: User notification preference management
  - name: Filters
    description: 'Public filter data: dates, sports, gender, roles'
  - name: Colleges
    description: Public college listing
paths:
  /transactions/summary:
    get:
      tags:
        - Transactions
      summary: Transaction summary statistics (Dashboard)
      description: >-
        Returns summary statistics (total deals, total value, avg value, etc.)
        for the dashboard top cards.
      operationId: complianceTransactionsSummary
      parameters:
        - name: start_date
          in: query
          description: Start date (YYYY-MM-DD).
          required: false
          schema:
            type: string
            format: date
            example: '2026-02-16'
        - name: end_date
          in: query
          description: End date (YYYY-MM-DD).
          required: false
          schema:
            type: string
            format: date
            example: '2026-03-18'
        - name: is_current_athlete
          in: query
          description: >-
            Filter: **Y** = Current Athletes, **N** = Former Athletes, **A** =
            All Athletes.
          required: false
          schema:
            type: string
            enum:
              - 'Y'
              - 'N'
              - A
            example: 'Y'
        - name: mogl_deals_only
          in: query
          description: Show only MOGL deals.
          required: false
          schema:
            type: boolean
            example: true
        - name: college_id
          in: query
          description: Filter by university/college ID.
          required: false
          schema:
            type: integer
      responses:
        '200':
          description: Summary data
          content:
            application/json:
              schema:
                properties:
                  status:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Transactions Summary has been retrieved.
                  data:
                    type: object
                type: object
        '400':
          description: Bad Request
        '401':
          description: Unauthenticated
        '500':
          description: Server Error
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      description: >-
        JWT Bearer token authentication. Use the /api/login endpoint to obtain a
        token.
      scheme: bearer
      bearerFormat: JWT

````