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

# Get Dashboard Stats

> Get dashboard overview stats for the admin's organization.

All figures are DB-side aggregates (COUNT / GROUP BY) — previously this
loaded every user/ship/course/curriculum/assignment/registration row into
Python just to len() them, which would not scale.



## OpenAPI

````yaml /openapi.json get /api/v1/learn/admin/stats
openapi: 3.1.0
info:
  title: Seamind Backend
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/learn/admin/stats:
    get:
      tags:
        - learn-admin
      summary: Get Dashboard Stats
      description: >-
        Get dashboard overview stats for the admin's organization.


        All figures are DB-side aggregates (COUNT / GROUP BY) — previously this

        loaded every user/ship/course/curriculum/assignment/registration row
        into

        Python just to len() them, which would not scale.
      operationId: get_dashboard_stats_api_v1_learn_admin_stats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminDashboardStatsDTO'
      security:
        - HTTPBearer: []
components:
  schemas:
    AdminDashboardStatsDTO:
      properties:
        totalCrew:
          type: integer
          title: Totalcrew
        activeCrew:
          type: integer
          title: Activecrew
        totalShips:
          type: integer
          title: Totalships
        totalCourses:
          type: integer
          title: Totalcourses
        totalPrograms:
          type: integer
          title: Totalprograms
        completionRate:
          type: number
          title: Completionrate
      type: object
      required:
        - totalCrew
        - activeCrew
        - totalShips
        - totalCourses
        - totalPrograms
        - completionRate
      title: AdminDashboardStatsDTO
      description: Overview stats for admin dashboard.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````