---
title: "Add a comment to a job or commit"
method: POST
path: "/api/comment"
tags: ["comments"]
---

# Add a comment to a job or commit

`POST /api/comment`

## Request body

- AddCommentRequest
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `comment` string, required
  - `commenter` string, required
  - `job_id` integer
  - `sha` string

## Response `201`

Created

- Response
  - `$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 `source` to the response with the `201` status

[Change history](https://skmtc.dev/kenn-io/apis/roborev/changes/api/comment/post.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)
