---
title: "List comments for a job or commit"
method: GET
path: "/api/comments"
tags: ["comments"]
---

# List comments for a job or commit

`GET /api/comments`

## Query parameters

- `job_id` integer — List comments by job ID
- `commit_id` integer — List comments by commit ID
- `sha` string — List comments by commit SHA

## Response `200`

OK

- ListCommentsOutputBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `responses` Response[], nullable, required
    - `$schema` string, uri — A URL to the JSON Schema for this object.
    - `commit_id` integer
    - `created_at` string, date-time, required
    - `id` integer, required
    - `job_id` integer
    - `responder` string, required
    - `response` string, required
    - `source` string
    - `source_machine_id` string
    - `synced_at` string, date-time
    - `uuid` string

## Other responses

- `default` — Error

## Changes

- **2026-08-16** `da030fad394f` — 1 info
  - added the optional property `responses/items/source` to the response with the `200` status

[Change history](https://skmtc.dev/kenn-io/apis/roborev/changes/api/comments/get.md)

---

[API](https://skmtc.dev/kenn-io/apis/roborev.md) · [All operations](https://skmtc.dev/kenn-io/apis/roborev/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kenn-io/roborev/revisions/0dfdca81e88d/schema)
