cases
Get case information
Spaces method and path for this operation:
<div><span class="operation-verb get">get</span> <span class="operation-path">/s/{space_id}/api/cases/{caseId}</span></div>Refer to Spaces for more information.
Returns case details. The response does not include a comments property; use the find case comments API to retrieve comments. The totalComment field reflects the actual number of user comments on the case. 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 case you're seeking.
get/api/cases/{caseId}
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.
Response
Indicates a successful call.
Example response
{
"assignees": [
{
"uid": "u_0wpfV1MqYDaXzLtRVY-gLMrddKDEmfz51Fszhj7hWC8_0"
}
],
"closed_by": {
"profile_uid": "u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0",
"username": "elastic"
},
"connector": {
"id": "none",
"name": "none",
"type": ".none"
},
"created_at": "2022-05-13T09:16:17.416Z",
"created_by": {
"profile_uid": "u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0",
"username": "elastic"
},
"description": "A case description.",
"duration": 120,
"external_service": {
"pushed_by": {
"profile_uid": "u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0",
"username": "elastic"
}
},
"id": "66b9aa00-94fa-11ea-9f74-e7e108796192",
"incremental_id": 1,
"observables": [
{
"createdAt": "2024-11-14T10:00:00.000Z",
"description": "Source IP",
"id": "df927ab8-54ed-47d6-be07-9948c255c097",
"typeKey": "observable-type-ipv4",
"updatedAt": "2024-11-14T10:00:00.000Z",
"value": "10.0.0.8"
}
],
"owner": "cases",
"settings": {
"syncAlerts": true
},
"tags": [
"tag-1"
],
"title": "Case title 1",
"totalComment": 1,
"updated_by": {
"profile_uid": "u_J41Oh6L9ki-Vo2tOogS8WRTENzhHurGtRc87NgEAlkc_0",
"username": "elastic"
},
"version": "WzUzMiwxXQ=="
}