---
updatedAt: 2026-04-21T03:46:21.000Z
agentTools:
  projectIndex: https://help.rainforestqa.com/llms.txt
---

# List comments for a run test

List comments for a run test

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Rainforest API Documentation",
    "description": "Nearly all interactions done on in Rainforest can be done in via the API.<br/><br/>Find your API Token (for the CLIENT_TOKEN header field) on the <a href=\"https://app.rainforestqa.com/settings/integrations\">integration settings</a> page.",
    "version": "1"
  },
  "security": [
    {
      "api_key": []
    }
  ],
  "tags": [
    {
      "name": "runs",
      "description": "Operations about runs"
    }
  ],
  "paths": {
    "/1/runs/{run_id}/tests/{test_id}/comments": {
      "get": {
        "summary": "List comments for a run test",
        "description": "List comments for a run test",
        "parameters": [
          {
            "in": "path",
            "name": "run_id",
            "description": "A run ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "in": "path",
            "name": "test_id",
            "description": "A test ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Run test comments retrieved",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TestCommentHistory"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Run or test not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "tags": [
          "runs"
        ],
        "operationId": "get-run-test-comments",
        "x-rdme-order": 32
      }
    }
  },
  "servers": [
    {
      "url": "//app.rainforestqa.com/api"
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "CLIENT_TOKEN",
        "in": "header"
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "description": "An error message describing what went wrong"
          }
        },
        "required": [
          "error"
        ],
        "description": "Error model"
      },
      "Worker": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "uuid": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "pic": {
            "type": "string",
            "format": "url"
          },
          "profile_url": {
            "type": "string",
            "format": "url"
          }
        },
        "description": "Worker model"
      },
      "TestCommentHistory": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "run_id": {
            "type": "integer",
            "format": "int32"
          },
          "rf_test_id": {
            "type": "integer",
            "format": "int32"
          },
          "run_step_id": {
            "type": "integer",
            "format": "int32"
          },
          "browser_name": {
            "type": "string"
          },
          "worker_id": {
            "type": "integer",
            "format": "int32"
          },
          "original_step_id": {
            "type": "integer",
            "format": "int32"
          },
          "comment": {
            "type": "string"
          },
          "worker": {
            "$ref": "#/components/schemas/Worker"
          }
        },
        "description": "TestCommentHistory model"
      }
    }
  }
}
```