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

# List all test cases



## OpenAPI

````yaml https://dev.enneo.dev/api/mind/docs/open-api get /aiQualityCheck/testCase
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:
  /aiQualityCheck/testCase:
    get:
      tags:
        - AI Quality Check
      summary: List all test cases
      operationId: listAiQualityTestCases
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AiTestCase'
components:
  schemas:
    AiTestCase:
      type: object
      description: >-
        Represents a test case for AI quality checks. A ticket that is assigned
        to AI agents with an expected result.

        During a specific test run, every test case is individually tested and
        the result is saved as a "test ticket".

        So if we have 10 test cases and 5 test runs, we will have 10*5=50 test
        tickets.

        Note: aiAgentIds are for reference only. Each test case generates ONE
        test ticket per test run, regardless of how many agents are in
        aiAgentIds.
      properties:
        id:
          type: integer
          nullable: true
          description: The ID of the test case. Null if not yet saved.
        ticketId:
          type: integer
          nullable: true
          description: >-
            The ID of the ticket that is being tested (null for chat/voice
            tests)
        aiAgentIds:
          type: array
          items:
            type: integer
          description: >-
            Array of AI agent IDs for reference only (indicates which agents
            this test case is meant for). Does not affect the number of test
            tickets created.
          example:
            - 1
            - 2
            - 3
        channel:
          type: string
          nullable: true
          description: The channel of the test case (email, chat, or phone)
        summary:
          type: string
          nullable: true
          description: The summary of the ticket. Pulled from ticket.summary
        description:
          type: string
          nullable: true
          description: A short description of the test case. Null if not yet set.
        expectedResult:
          type: object
          nullable: true
          description: The expected result of the test case
        modifiedBy:
          type: integer
          nullable: true
          description: The user ID of the user who last modified the test case
  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

````