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

# List result histories

> List the historical results of a test entity across previous runs within a look-back window.

<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}/test_entities/{test_entity_id}/result_histories
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}/test_entities/{test_entity_id}/result_histories:
    get:
      tags:
        - Result Histories
      summary: List result histories
      description: >-
        List the historical results of a test entity across previous runs within
        a look-back window.
      operationId: listResultHistories
      parameters:
        - $ref: '#/components/parameters/api_key_header'
        - $ref: '#/components/parameters/accept_header'
        - $ref: '#/components/parameters/project_id_param'
        - $ref: '#/components/parameters/run_id_param'
        - $ref: '#/components/parameters/test_entity_id_param'
        - in: query
          name: days
          description: Number of days to look back from the anchor date. Defaults to 7.
          required: false
          schema:
            type: integer
            default: 7
            example: 14
        - in: query
          name: result_history_started_at
          description: >-
            Anchor date (ISO 8601) to look back from. Defaults to the latest
            result of the test entity in this run.
          required: false
          schema:
            type: string
            format: date-time
            example: '2026-06-28T00:00:00.000Z'
      responses:
        '200':
          description: OK - Request succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/result_history_list_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
    test_entity_id_param:
      in: path
      name: test_entity_id
      description: >-
        Id of the test entity (a spec or a test). You can get `test_entity_id`
        by listing test entities using the [List test
        entities](/api-reference/test-entities/list) API.
      required: true
      schema:
        type: string
        example: vhrscje
  schemas:
    result_history_list_response:
      type: object
      properties:
        result_histories:
          type: array
          items:
            $ref: '#/components/schemas/result_history'
    result_history:
      type: object
      properties:
        status:
          type: string
          description: Status of the test entity in this historical run.
          example: passed
        duration:
          type: number
          nullable: true
          description: Duration of the test entity in this run, in seconds.
          example: 3.21
        started_at:
          type: string
          format: date-time
          nullable: true
          description: Time at which this result started.
          example: '2026-06-27T09:14:25.000Z'
        run_id:
          type: string
          description: Unique identifier of the run this result belongs to.
          example: kftwnab
        run:
          $ref: '#/components/schemas/result_history_run'
    result_history_run:
      type: object
      properties:
        commit_name:
          type: string
          description: Commit message associated with the run.
          example: Fix flaky checkout spec
        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
          items:
            type: string
          example:
            - nightly
        commit_id:
          type: string
          description: SHA of the commit.
          example: 9fceb02e1d2c4bb6a1f3f6b0c8e7d5a1b2c3d4e5
        ci_build_id:
          type: string
          description: Identifier of the CI build that reported the run.
          example: gh-actions-4821
        duration:
          type: number
          nullable: true
          description: Total duration of the run in seconds.
          example: 182.45
        status:
          type: string
          description: Status of the run.
          example: passed

````