v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-076771,7565.2 MB
cases

Get a case comment or alert

Spaces method and path for this operation:

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/cases/{caseId}/comments/{commentId}</span></div>

Refer to Spaces for more information.

You must have read privileges for the Cases feature in the Management, Observability, or Security section of the Kibana feature privileges, depending on the owner of the cases with the comments you're seeking.

get/api/cases/{caseId}/comments/{commentId}

Path parameters

caseIdstring required
Example:9c235210-6834-11ea-a78c-6ffb38a34414

The identifier for the case. To retrieve case IDs, use the search cases (_find) API. All non-ASCII characters must be URL encoded.

commentIdstring required
Example:71ec1870-725b-11ea-a0b2-c51ea50a58e2

The identifier for the comment. To retrieve comment IDs, use the get case or search cases (_find) APIs.

Response

Indicates a successful call.

OR

Example response

{
  "alertId": [
    "a6e12ac4-7bce-457b-84f6-d7ce8deb8446"
  ],
  "created_at": "2023-11-06T19:29:38.424Z",
  "created_by": {
    "profile_uid": "u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0",
    "username": "elastic"
  },
  "id": "73362370-ab1a-11ec-985f-97e55adae8b9",
  "index": [
    ".internal.alerts-security.alerts-default-000001"
  ],
  "owner": "cases",
  "pushed_by": {
    "profile_uid": "u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0",
    "username": "elastic"
  },
  "rule": {
    "id": "94d80550-aaf4-11ec-985f-97e55adae8b9",
    "name": "security_rule"
  },
  "type": "alert",
  "updated_by": {
    "profile_uid": "u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0",
    "username": "elastic"
  },
  "version": "WzMwNDgsMV0="
}