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

# Concurrent users + telephony counters (admin polling)

> Compact summary of users who were active in the last 10 minutes, broken
down by user type, plus current live-call and in-queue counters from ACD.
Used by the admin portal for concurrent-user monitoring; replaces the
deprecated `?lastSeen=online` summary fast-path on `GET /profiles`.
Requires `readUserLastSeenDate` or `readAnyUserProfile`.




## OpenAPI

````yaml https://dev.enneo.dev/api/mind/docs/open-api get /profiles/onlineSummary
openapi: 3.0.0
info:
  version: '1'
  title: enneo.MIND API
  description: This describes the API of enneo Mind, the main ticketing backend
  contact:
    name: enneo GmbH
    email: richard@enneo.ai
  license:
    name: Proprietary software
    url: https://enneo.ai
servers:
  - url: https://demo.enneo.ai/api/mind
    description: Production server, demo client
  - url: https://main.enneo.dev/api/mind
    description: Development main branch
  - url: http://localhost:8005/api/mind
    description: Local development server
security:
  - bearerAuth:
      - api
  - cookieAuth:
      - api
paths:
  /profiles/onlineSummary:
    get:
      tags:
        - Profile
      summary: Concurrent users + telephony counters (admin polling)
      description: >
        Compact summary of users who were active in the last 10 minutes, broken

        down by user type, plus current live-call and in-queue counters from
        ACD.

        Used by the admin portal for concurrent-user monitoring; replaces the

        deprecated `?lastSeen=online` summary fast-path on `GET /profiles`.

        Requires `readUserLastSeenDate` or `readAnyUserProfile`.
      operationId: getProfilesOnlineSummary
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  total:
                    type: integer
                    description: Total number of users active in the last 10 minutes
                    example: 42
                  preview:
                    type: array
                    description: Up to 10 users sorted by name
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          example: 12
                        name:
                          type: string
                          example: Alice Smith
                  byType:
                    type: object
                    description: Count of online users grouped by authData.type
                    additionalProperties:
                      type: integer
                    example:
                      user: 35
                      enneo: 4
                      serviceWorker: 2
                  lastUserActivity:
                    type: string
                    nullable: true
                    description: >
                      Timestamp of the most recent `lastActivity` across all
                      users

                      of type `user` (regardless of the 10-minute online
                      window).

                      `null` if no such user exists.
                    example: '2026-05-12 14:32:01'
                  telephony:
                    type: object
                    properties:
                      currentLiveCalls:
                        type: integer
                        example: 3
                      currentInQueue:
                        type: integer
                        example: 7
        '403':
          description: Permission denied
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      description: Data format of Enneo error messages
      properties:
        error:
          type: string
          example: Contract 121 could not be processed
          description: Readable error message that should be shown to the user
        details:
          type: string
          example: >-
            Uncatched null point exception in testFunction() in
            /app/src/file:212
          description: Not easily readable error message that is for the developer
        txId:
          type: string
          example: c916167c94
          description: >-
            Internal transaction id. Useful for debugging. Corresponds to the
            OpenTelemetry trace ID.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT-based authentication
      x-scopes:
        api: Full access to the API
    cookieAuth:
      type: apiKey
      in: cookie
      name: connect.sid
      description: Cookie-based authentication
      x-scopes:
        api: Full access to the API

````