---
title: "Add Incident Comment"
method: POST
path: "/api/v1/sdk/incidents/{incident_id}/comment"
tags: ["public-api", "public-incidents"]
---

# Add Incident Comment

`POST /api/v1/sdk/incidents/{incident_id}/comment`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/sdk/incidents/{incident_id}/comment`
- Auth: none declared

Add a comment to the incident activity timeline.

**SDK Usage:**
```python
client.alerts.comment_on_incident("incident-uuid", "Investigating root cause")
```

## Path parameters

- `incident_id` string, uuid, required

## Headers

- `Authorization` string

## Request body

- AddCommentRequest: Request to add a comment to an incident.
  - `comment` string, required

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
