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

# List test runs



## OpenAPI

````yaml /openapi/v1.json get /projects/{id}/test-runs
openapi: 3.1.0
info:
  title: Bugzy API
  description: >-
    Programmatic access to Bugzy's QA automation capabilities. Trigger test
    runs, query results, manage schedules, and configure event triggers.
  version: 1.0.0
  contact:
    name: Bugzy Support
    url: https://www.bugzy.ai
servers:
  - url: https://bugzy.ai/api/v1
    description: Production
security:
  - bearerAuth: []
paths:
  /projects/{id}/test-runs:
    get:
      tags:
        - Test Runs
      summary: List test runs
      operationId: listTestRuns
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: execution_id
          in: query
          schema:
            type: string
            format: uuid
        - name: limit
          in: query
          schema:
            type: integer
            default: 10
        - name: cursor
          in: query
          schema:
            type: string
      responses:
        '200':
          description: List of test runs
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/TestRun'
                  pagination:
                    $ref: '#/components/schemas/Pagination'
components:
  schemas:
    TestRun:
      type: object
      properties:
        executionId:
          type: string
          format: uuid
        taskSlug:
          type: string
        completedAt:
          type: string
          format: date-time
          nullable: true
        passed:
          type: integer
        failed:
          type: integer
        skipped:
          type: integer
        total:
          type: integer
    Pagination:
      type: object
      properties:
        cursor:
          type: string
          nullable: true
        hasMore:
          type: boolean
      required:
        - hasMore
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Project API key (bzy_proj_*) for project routes or team API key
        (bzy_team_*) for selected team routes.

````