---
title: "Get comments for recommendation"
method: GET
path: "/v2/optimize/recommendations/{recommendation_id}/comments"
tags: ["comments"]
---

# Get comments for recommendation

`GET /v2/optimize/recommendations/{recommendation_id}/comments`

Returns all comments associated with a specific recommendation, sorted by creation time.

## Path parameters

- `recommendation_id` string, required — The ID of the recommendation to get comments for

## Response `200`

Successful Response

- ListCommentsResponse
  - `recommendation_id` string, required — The ID of the recommendation
  - `comments` Comment[] — The comments for the recommendation
    - `comment_id` string, required — The ID of the comment
    - `message` string, required — The message of the comment
    - `item_type` string, required — The type of the item
    - `item_id` string, required — The ID of the item
    - `author_user_id` string, required — The ID of the user who created the comment
    - `author_email` string, required — The email of the user who created the comment
    - `created_ts` integer, required — The timestamp of when the comment was created
    - `updated_ts` integer, required — The timestamp of when the comment was updated

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/cloudzero/apis/cloudzero-api-v2-resources.md) · [All operations](https://skmtc.dev/cloudzero/apis/cloudzero-api-v2-resources/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudzero/cloudzero-api-v2-resources/revisions/fd805a0e75e5/schema)
