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

# List automation runs

> List the times the project's automations fired, newest first, as the dashboard Automations → History tab does: whether each run started its work, failed or was skipped, and the chat conversation or test run it started. Use it to check what `trigger_automation` or a schedule did.



## OpenAPI

````yaml /api-reference/api.json get /v1/automation-runs
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: API for triggering and managing AI-powered test runs
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
  - name: Features
  - name: Metrics
  - name: Projects
  - name: Knowledge
  - name: Rules
  - name: Configs
  - name: Labels
  - name: Scenarios
  - name: Crawling
  - name: Webhooks
  - name: Pull requests
  - name: Issues
  - name: Todos
  - name: Automations
  - name: Test plans
  - name: Integrations
paths:
  /v1/automation-runs:
    get:
      tags:
        - Automations
      summary: List automation runs
      description: >-
        List the times the project's automations fired, newest first, as the
        dashboard Automations → History tab does: whether each run started its
        work, failed or was skipped, and the chat conversation or test run it
        started. Use it to check what `trigger_automation` or a schedule did.
      operationId: ListAutomationRuns
      parameters:
        - name: query
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/ListAutomationRunsQuery'
          explode: false
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListAutomationRunsResponse'
components:
  schemas:
    ListAutomationRunsQuery:
      type: object
      properties:
        automationId:
          type: string
          description: >-
            Only include runs of this automation, as listed by
            `list_automations`.
        status:
          type: string
          enum:
            - triggered
            - failed
            - skipped
          description: >-
            `triggered` started its chat, test plan run or review; `failed`
            could not start it (see `error`); `skipped` had nothing to do, such
            as a pull request event that matched no filter.
        limit:
          type: integer
          format: int32
          minimum: 1
          maximum: 100
          description: Maximum number of runs to return (1-100). Defaults to 20.
          default: 20
        projectShortId:
          allOf:
            - $ref: '#/components/schemas/ProjectShortId'
          description: >-
            Target a specific project by its prefixed short ID
            (proj-slug_shortId or proj_shortId), as returned by the projects
            API. Required for organization-scoped API keys; project-scoped keys
            may only pass their own project's short ID.
    ListAutomationRunsResponse:
      type: object
      required:
        - runs
      properties:
        runs:
          type: array
          items:
            $ref: '#/components/schemas/AutomationRun'
          description: Newest first.
    ProjectShortId:
      type: string
      pattern: ^proj(-.+_.+|_.+)$
    AutomationRun:
      type: object
      required:
        - id
        - automationId
        - automationName
        - actionType
        - status
        - source
        - error
        - chatConversationShortId
        - runShortId
        - createdAt
      properties:
        id:
          type: string
        automationId:
          type: string
        automationName:
          type: string
          description: Automation name when it fired.
        actionType:
          type: string
          enum:
            - chat
            - run_test_plan
            - review_pull_request
        status:
          type: string
          enum:
            - triggered
            - failed
            - skipped
        source:
          type: string
          enum:
            - schedule
            - api
            - github
          description: >-
            What fired it: `schedule`, `api` (`trigger_automation`, the trigger
            endpoint or Run now in the dashboard) or `github`.
        error:
          type: string
          nullable: true
          description: Why the run failed or was skipped; null otherwise.
        chatConversationShortId:
          type: string
          allOf:
            - $ref: '#/components/schemas/ChatConversationShortId'
          nullable: true
          description: >-
            Conversation the run started, for `get_chat_conversation`. Null for
            test plan runs, and until the conversation is created.
        runShortId:
          type: string
          nullable: true
          description: >-
            Test run the automation started, for `get_run`. Null for chat and
            review actions, and until the run is created.
        createdAt:
          type: string
      description: >-
        One time an automation fired, as the dashboard Automations → History tab
        shows it.
    ChatConversationShortId:
      type: string
      pattern: ^chat(-.+_.+|_.+)$
  securitySchemes:
    BearerAuth:
      type: http
      scheme: Bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.