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

# Rerun run

> Rerun a specific run with optional filters



## OpenAPI

````yaml /api-reference/api.json post /v1/run/{shortId}
openapi: 3.0.0
info:
  title: QA.tech API
  version: 1.0.0
  contact:
    name: QA.tech
    url: https://qa.tech
    email: support@qa.tech
  description: >-
    REST API for triggering and managing AI-powered test runs. Authenticate with
    a project API token (Authorization: Bearer <token>) found in Project
    Settings -> Integrations.
servers:
  - url: https://api.qa.tech
    description: Production
    variables: {}
security:
  - BearerAuth: []
tags:
  - name: Runs
  - name: Infrastructure
  - name: Test Cases
  - name: Application Builds
  - name: Status badge
  - name: Remote Tunnels
  - name: Chat
  - name: Applications
paths:
  /v1/run/{shortId}:
    post:
      tags:
        - Runs
      summary: Rerun run
      description: Rerun a specific run with optional filters
      operationId: RerunRunOp
      parameters:
        - name: shortId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RerunRequest'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RerunResponse'
components:
  schemas:
    RerunRequest:
      type: object
      properties:
        failedOnly:
          type: boolean
        projectTestCaseIds:
          type: array
          items:
            type: string
      description: Request body to rerun prior run.
    RerunResponse:
      type: object
      required:
        - success
        - run
      properties:
        success:
          type: boolean
        run:
          $ref: '#/components/schemas/RerunRun'
    RerunRun:
      type: object
      required:
        - id
        - shortId
        - url
        - testCount
      properties:
        id:
          type: string
        shortId:
          type: string
        url:
          type: string
        testCount:
          type: integer
          format: int32
  securitySchemes:
    BearerAuth:
      type: http
      scheme: Bearer

````