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

# Get an analytics summary

> Returns the tenant-wide dashboard counts through the Portal API.

See the [Gateway API entry](/api-reference/gateway/analytics/get-an-analytics-summary) for the full description.



## OpenAPI

````yaml /openapi/kintra-app.json get /tenant/{tenantId}/analytics/summary
openapi: 3.0.0
info:
  description: >-
    Tenant portal API for the Kintra loyalty platform. Requests are
    authenticated with an Auth0 bearer token and address a tenant by id in the
    path.
  title: Kintra Portal API
  version: 1.0.0
servers:
  - description: Production environment
    url: https://api.kintra.io/api/v1
security: []
paths:
  /tenant/{tenantId}/analytics/summary:
    get:
      tags:
        - Analytics
      summary: Get an analytics summary
      description: >-
        Returns the tenant-wide dashboard counts through the Portal API.


        See the [Gateway API
        entry](/api-reference/gateway/analytics/get-an-analytics-summary) for
        the full description.
      operationId: TenantOverviewAnalyticsSummary
      parameters:
        - in: path
          name: tenantId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/ApiResponse_ITenantAnalyticsSummaryResponseDto_
          description: ''
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Tenant not found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_null_'
          description: Internal server error
      security:
        - auth0_jwt: []
components:
  schemas:
    ApiResponse_ITenantAnalyticsSummaryResponseDto_:
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/ITenantAnalyticsSummaryResponseDto'
        errors:
          items:
            properties:
              message:
                type: string
              path:
                type: string
            required:
              - path
              - message
            type: object
          type: array
        message:
          type: string
        success:
          type: boolean
      required:
        - success
      type: object
    ApiResponse_null_:
      additionalProperties: false
      properties:
        data:
          enum:
            - null
          nullable: true
          type: number
        errors:
          items:
            properties:
              message:
                type: string
              path:
                type: string
            required:
              - path
              - message
            type: object
          type: array
        message:
          type: string
        success:
          type: boolean
      required:
        - success
      type: object
    ITenantAnalyticsSummaryResponseDto:
      additionalProperties: false
      description: Tenant-scoped KPIs for portal / gateway overview.
      properties:
        total_customers:
          format: double
          type: number
        total_internal_transactions:
          format: double
          type: number
        total_redemptions:
          format: double
          type: number
        total_rewards:
          format: double
          type: number
        total_tiers:
          format: double
          type: number
      required:
        - total_customers
        - total_redemptions
        - total_rewards
        - total_tiers
        - total_internal_transactions
      type: object
  securitySchemes:
    auth0_jwt:
      bearerFormat: JWT
      description: Auth0 access token
      scheme: bearer
      type: http

````