---
title: "Retrieve a comment on an asset"
method: GET
path: "/assets/{asset_id}/comments/{comment_id}"
tags: ["Assets"]
---

# Retrieve a comment on an asset

`GET /assets/{asset_id}/comments/{comment_id}`

## Request

- Base URL: `https://enterprise.knak.io/api/published/v1`
- URL: `https://enterprise.knak.io/api/published/v1/assets/{asset_id}/comments/{comment_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/knak/apis/knak-enterprise-api/docs/assets/:asset_id/comments/:comment_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve one top-level comment on an asset, with its replies. Reply IDs return 404; fetch the parent comment instead.

## Path parameters

- `asset_id` string, required
- `comment_id` string, required

## Response `200`

OK

- CommentItem
  - `data` Comment
    - `id` string, required
    - `asset_id` string, required
    - `parent_id` string, nullable, required: ID of the comment this one replies to. Null for a top-level comment.
    - `resolved` boolean, required
    - `text` string, required: The comment as plain text, with mentions rendered as `@Name`.
    - `mentions` object[], required
      - `user_id` string
      - `name` string
    - `author` object, nullable, required: Null when the comment came from outside Knak, for example a Slack reply.
      - `id` string
      - `name` string
    - `is_external` boolean, required: Whether the comment came from outside Knak, for example a Slack reply.
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `replies` Comment[], required: Replies to this comment, oldest first. Replies have no replies of their own.

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden
- `404`: Not Found - the asset does not exist or is outside your brands, or the comment is not a top-level comment on this asset.
- `default`: Unexpected server error.

---

[API](https://skmtc.dev/knak/apis/knak-enterprise-api.md) - [All operations](https://skmtc.dev/knak/apis/knak-enterprise-api/llms.txt) - [OpenAPI document](https://skmtc.dev/knak/apis/knak-enterprise-api/revisions/31d2c94edfcc?raw)
