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

# Get run

> Get a run along with its specs and the tests grouped under each spec.

<Info>Replace `{your-subdomain}` with your workspace's subdomain. <br /> Learn how to find your subdomain in [Workspace subdomain](/getting-started/workspace-subdomain).</Info>


## OpenAPI

````yaml bundled/playdash.yaml GET /projects/{project_id}/runs/{run_id}
openapi: 3.0.3
info:
  title: NeetoPlaydash APIs
  version: 1.0.0
  description: >-
    APIs to read projects, runs, test entities, result histories and traces from
    NeetoPlaydash.
servers:
  - description: NeetoPlaydash APIs
    url: https://{your-subdomain}.neetoplaydash.com/api/external/v1
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/getting-started/workspace-subdomain).
security: []
tags:
  - name: Projects
    description: APIs to list projects in the workspace.
  - name: Runs
    description: APIs to list runs and fetch a run with its specs.
  - name: Test Entities
    description: APIs to list test entities and fetch a test entity with its outcomes.
  - name: Result Histories
    description: APIs to fetch the historical results of a test entity.
  - name: Traces
    description: APIs to fetch Playwright traces for a run or a test entity.
paths:
  /projects/{project_id}/runs/{run_id}:
    get:
      tags:
        - Runs
      summary: Get run
      description: Get a run along with its specs and the tests grouped under each spec.
      operationId: getRun
      parameters:
        - $ref: '#/components/parameters/api_key_header'
        - $ref: '#/components/parameters/accept_header'
        - $ref: '#/components/parameters/project_id_param'
        - $ref: '#/components/parameters/run_id_param'
        - in: query
          name: status
          description: >-
            Filter the returned tests by status. Only specs that contain at
            least one matching test are returned.
          required: false
          schema:
            type: string
            enum:
              - passed
              - failed
              - skipped
              - interrupted
              - timed_out
              - flaky
            example: failed
        - in: query
          name: page
          description: >-
            Page of specs to retrieve, starting from 1. Defaults to 1 when
            omitted.
          required: false
          schema:
            type: integer
            example: 1
        - $ref: '#/components/parameters/page_size_param'
      responses:
        '200':
          description: >-
            OK - Request succeeded. Specs are paginated with a default of 30 per
            page (maximum 100).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/run_detail_response'
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        Use the X-Api-Key header to provide your workspace API key. Refer to
        [Authentication](/getting-started/authentication) for more information.
      required: true
      schema:
        type: string
    accept_header:
      in: header
      name: Accept
      description: >-
        Specifies the expected response format. Must be set to
        `application/json` for proper API communication.
      required: true
      schema:
        type: string
        enum:
          - application/json
        default: application/json
    project_id_param:
      in: path
      name: project_id
      description: >-
        Id of the project. You can get `project_id` by listing your projects
        using the [List projects](/api-reference/projects/list) API.
      required: true
      schema:
        type: string
        example: pdqmxlz
    run_id_param:
      in: path
      name: run_id
      description: >-
        Id of the run. You can get `run_id` by listing runs using the [List
        runs](/api-reference/runs/list) API.
      required: true
      schema:
        type: string
        example: kftwnab
    page_size_param:
      in: query
      name: page_size
      description: >-
        Number of records returned per page. Each endpoint applies its own
        default and maximum value.
      required: false
      schema:
        type: integer
        example: 15
  schemas:
    run_detail_response:
      allOf:
        - type: object
          properties:
            project_id:
              type: string
              description: Unique identifier of the project.
              example: pdqmxlz
            run_id:
              type: string
              description: Unique identifier of the run.
              example: kftwnab
        - $ref: '#/components/schemas/run_base'
        - type: object
          properties:
            total_shards:
              type: integer
              nullable: true
              description: Total number of shards configured for the run.
              example: 4
            specs:
              type: array
              description: Specs executed in the run along with their grouped tests.
              items:
                $ref: '#/components/schemas/spec'
            pagination:
              $ref: '#/components/schemas/pagination'
    run_base:
      type: object
      properties:
        commit_id:
          type: string
          description: SHA of the commit the run was triggered for.
          example: 9fceb02e1d2c4bb6a1f3f6b0c8e7d5a1b2c3d4e5
        created_at:
          type: string
          format: date-time
          description: Time at which the run was created.
          example: '2026-06-28T09:14:22.000Z'
        commit_name:
          type: string
          description: Commit message associated with the run.
          example: Fix flaky checkout spec
        status:
          $ref: '#/components/schemas/run_status'
        duration:
          type: number
          nullable: true
          description: Total duration of the run in seconds.
          example: 182.45
        ci_build_id:
          type: string
          description: Identifier of the CI build that reported the run.
          example: gh-actions-4821
        branch:
          type: string
          nullable: true
          description: Branch the run was executed on.
          example: main
        author:
          type: string
          nullable: true
          description: Author of the commit.
          example: Oliver Smith
        tags:
          type: array
          description: Tags associated with the run.
          items:
            type: string
          example:
            - smoke
            - nightly
        is_running:
          type: boolean
          description: Whether the run is still in progress.
          example: false
        run_statistics:
          $ref: '#/components/schemas/run_statistics'
    spec:
      type: object
      properties:
        spec_id:
          type: string
          description: Unique identifier of the spec entity.
          example: wbnxtyz
        file_name:
          type: string
          description: Spec file name.
          example: cart.spec.ts
        tests:
          type: array
          items:
            $ref: '#/components/schemas/spec_test'
    pagination:
      type: object
      properties:
        total_records:
          type: integer
          description: Total number of records across all pages.
          example: 42
        total_pages:
          type: integer
          description: Total number of pages available.
          example: 3
        current_page_number:
          type: integer
          description: Current page number.
          example: 1
        page_size:
          type: integer
          description: Number of records per page.
          example: 15
    run_status:
      type: string
      description: Current status of the run.
      enum:
        - running
        - passed
        - failed
        - passing
        - failing
        - timedOut
        - interrupted
      example: passed
    run_statistics:
      type: array
      description: Aggregated count of tests grouped by their status.
      items:
        type: object
        properties:
          name:
            type: string
            description: Humanized status name.
            example: Passed
          value:
            type: integer
            description: Number of tests with this status.
            example: 38
      example:
        - name: Passed
          value: 38
        - name: Failed
          value: 2
        - name: Flaky
          value: 1
    spec_test:
      type: object
      properties:
        test_id:
          type: string
          description: Unique identifier of the test entity.
          example: vhrscje
        title:
          type: string
          description: Title of the test.
          example: adds an item to the cart
        status:
          type: string
          description: Status of the test in this run.
          example: passed
        duration:
          type: number
          nullable: true
          description: Duration of the test in seconds. Omitted when not available.
          example: 3.21

````