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

# Re-run a previously executed test run

> Re-executes the same set of test tickets that the original test run used. The new run is
created in `scheduled` state and processed asynchronously. Compare its result against the
original to measure regressions across AI agent versions.




## OpenAPI

````yaml https://dev.enneo.dev/api/mind/docs/open-api post /aiQualityCheck/testRun/{testRunId}/rerun
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/testRun/{testRunId}/rerun:
    post:
      tags:
        - AI Quality Check
      summary: Re-run a previously executed test run
      description: >
        Re-executes the same set of test tickets that the original test run
        used. The new run is

        created in `scheduled` state and processed asynchronously. Compare its
        result against the

        original to measure regressions across AI agent versions.
      operationId: rerunAiQualityTestRun
      parameters:
        - name: testRunId
          in: path
          required: true
          description: ID of the test run to re-execute.
          schema:
            type: integer
          example: 123
      responses:
        '200':
          description: Re-run scheduled
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  testRun:
                    type: object
                    description: The newly scheduled test run.
        '404':
          description: Original test run not found
components:
  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

````