---
title: "List comments"
method: GET
path: "/v1/tasks/{taskId}/comments"
tags: ["tasks"]
---

# List comments

`GET /v1/tasks/{taskId}/comments`

## Request

- Base URL: `https://api.flowral.app`
- URL: `https://api.flowral.app/v1/tasks/{taskId}/comments`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (client credentials, token URL `https://api.flowral.app/v1/oauth/token`, scopes: `flows:read`)

## Path parameters

- `taskId` string, required

## Response `200`

SUCCESS

- object
  - `total` integer, required: Total matching, not the length of `items`.
  - `items` Comment[], required
    - `id` string, required
    - `taskId` string, required
    - `authorId` string
    - `authorName` string
    - `body` string, required
    - `createdAt` string, date-time, required

## Other responses

- `401`: UNAUTHORIZED
- `403`: FORBIDDEN · PLAN_REQUIRED · INSUFFICIENT_SCOPE
- `404`: NOT_FOUND
- `429`: RATE_LIMITED

---

[API](https://skmtc.dev/flowral/apis/flowral-api.md) · [All operations](https://skmtc.dev/flowral/apis/flowral-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flowral/apis/flowral-api/revisions/6cd2337b682c?raw)
