> ## 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.

# Get overall AI performance metrics

> Returns overall AI performance metrics across the workspace for a selected time window.




## OpenAPI

````yaml https://dev.enneo.dev/api/mind/docs/open-api get /report/aiPerformance
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:
  /report/aiPerformance:
    get:
      tags:
        - Report
      summary: Get overall AI performance metrics
      description: >
        Returns overall AI performance metrics across the workspace for a
        selected time window.
      operationId: getAiPerformance
      parameters:
        - name: lastDays
          in: query
          required: false
          description: Number of days to look back. If omitted, defaults to 7.
          schema:
            type: string
            enum:
              - '0'
              - '1'
              - '3'
              - '7'
              - '14'
              - '30'
              - '90'
              - '365'
          example: '14'
        - name: outputHandlingCase
          in: query
          required: false
          description: Optional output handling case to filter metrics by.
          schema:
            type: string
          example: confirm
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                type: object
                description: Map of metric name to report item
                additionalProperties:
                  type: object
                  properties:
                    data:
                      description: Metric data (time-series or aggregated values)
                      additionalProperties: true
                    summary:
                      type: object
                      description: Aggregated numbers for the metric
                      additionalProperties: true
                    description:
                      type: string
                    filters:
                      type: object
                      description: Filters applied to generate this metric
                      additionalProperties: true
                    links:
                      type: object
                      description: Optional links for drilldown
                      additionalProperties:
                        type: string
                  required:
                    - data
                example:
                  autoProcessableAwaitingApproval:
                    data: []
                    summary:
                      value: 12
                      valueTotal: 180
                    description: >-
                      Open tickets marked for auto-processing that still require
                      human approval, compared to all open tickets (excluding
                      base agent tickets).
                    filters:
                      lastDays: '14'
                  requireManualProcessing:
                    data: []
                    summary:
                      value: 45
                      valueTotal: 180
                    description: >-
                      Open tickets where an AI agent was assigned but manual
                      processing is required, compared to all open tickets
                      (excluding base agent tickets).
                    filters:
                      lastDays: '14'
                  customerCorrectlyIdentified:
                    summary:
                      Correctly identified: 0.87
                      totalCorrect: 260
                      totalInputs: 300
                    data:
                      '01.01':
                        Correctly identified: 0.82
                      '02.01':
                        Correctly identified: 0.9
                    description: Work sessions where the customer was correctly identified.
                    filters:
                      lastDays: '14'
                  correctlyCategorizedWithTags:
                    summary:
                      Correctly categorized: 0.79
                      totalCorrect: 230
                      totalInputs: 290
                    data:
                      '01.01':
                        Correctly categorized: 0.75
                      '02.01':
                        Correctly categorized: 0.83
                    description: Work sessions where tags were correctly assigned.
                    filters:
                      lastDays: '14'
                  textAssistantAccuracy:
                    summary:
                      averageAccuracy: 0.84
                      totalInputs: 150
                    data:
                      '01.01':
                        Average accuracy: 0.8
                      '02.01':
                        Average accuracy: 0.88
                    description: Average accuracy of the text assistant.
                    filters:
                      lastDays: '14'
                  autoProcessing:
                    description: >-
                      Daily counts of auto-processed tickets (with approval L4
                      and fully autonomous L5).
                    summary:
                      amount: 34
                      withApproval: 20
                      fullyAutonomous: 14
                    data:
                      '01.01':
                        With Approval: 2
                        Fully autonomous: 1
                      '02.01':
                        With Approval: 4
                        Fully autonomous: 3
                    filters:
                      lastDays: '14'
                  automationLevel:
                    description: Daily distribution across automation levels L0..L5.
                    data:
                      '01.01':
                        L0: 3
                        L1: 2
                        L2: 1
                        L3: 0
                        L4: 2
                        L5: 1
                      '02.01':
                        L0: 2
                        L1: 3
                        L2: 1
                        L3: 1
                        L4: 3
                        L5: 2
                    filters:
                      lastDays: '14'
                  topAiAgents:
                    description: >-
                      Top AI agents for the selected period, including available
                      output handling cases for rule-based agents.
                    data:
                      - name: Basis-Agent
                        agentId: 1
                        intelligence: rulebased
                        processed: 42
                        awaitingApproval: 12
                        outputHandlingCases:
                          confirm: Adjust input parameters
                          apply: Apply text template
                      - name: Konto-Abgleich
                        agentId: 5
                        intelligence: smart
                        processed: 31
                        awaitingApproval: 8
                        outputHandlingCases: []
                    filters:
                      lastDays: '14'
        '400':
          description: Invalid filter parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Unauthorized
        '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

````