---
title: "GET Get comments for an entity"
description: "Retrieve all comments for a specific entity (task, policy, vendor, etc.)"
last_updated: "2026-05-06T07:33:44.881684+00:00"
canonical_url: "https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/api/comments/commentscontroller-getcomments"
---

<APIEndpoint
  method={"GET"}
  path={"/comments"}
  summary={"Get comments for an entity"}
  description={"Retrieve all comments for a specific entity (task, policy, vendor, etc.)"}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

<APIParameters parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}},{"name":"entityId","in":"query","required":true,"description":"ID of the entity to get comments for","schema":{"type":"string"}},{"name":"entityType","in":"query","required":true,"description":"Type of entity","schema":{"type":"string"}}]} />

## Responses

<APIResponse
  statusCode={"200"}
  description={"Comments retrieved successfully"}
  contentType={"application/json"}
  schema={{"type":"array"}}
/>

## Try It

<APIPlayground
  method={"GET"}
  path={"/comments"}
  parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}},{"name":"entityId","in":"query","required":true,"description":"ID of the entity to get comments for","schema":{"type":"string"}},{"name":"entityType","in":"query","required":true,"description":"Type of entity","schema":{"type":"string"}}]}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/llms.txt) for all pages in this wiki.
