Skip to main content
GET
/
comments
/
{id}
Get a comment
curl --request GET \
  --url https://slog.ai/comments/{id} \
  --header 'slog-api-key: <api-key>'
{
  "comment": {
    "id": "cmnt_01jqcomment01",
    "content": "This is blocked by the auth service migration.",
    "authorId": "user_01jquser0001",
    "author": {
      "id": "user_01jquser0001",
      "name": "Alex Johnson",
      "email": "[email protected]",
      "avatarUrl": null,
      "humanId": null
    },
    "taskId": "task_01jqabcd1111",
    "projectId": null,
    "milestoneId": null,
    "createdAt": "2026-05-10T11:00:00.000Z",
    "updatedAt": "2026-05-10T11:00:00.000Z"
  }
}

Authorizations

slog-api-key
string
header
required

API key obtained from the Slog dashboard or returned by the signup/invite-redeem flows. Pass as the slog-api-key header.

Path Parameters

id
string
required

Resource ID (UPID) or, for tasks and projects, the human-readable reference such as ENG-42.

Query Parameters

fields
string

Comma-separated list of fields to return. Supports brace notation for nested objects: fields=id,title,assignee{name,email}. When omitted, a default set of fields is returned.

Response

The comment.

comment
object