Spaces method and path for this operation:
get /s/{space_id}/api/cases/{caseId}/attachments/{attachmentId}
Refer to Spaces for more information.
Returns a single attachment from a 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.
GET
/api/cases/{caseId}/attachments/{attachmentId}
curl \
--request GET 'https://localhost:5601/api/cases/9c235210-6834-11ea-a78c-6ffb38a34414/attachments/71ec1870-725b-11ea-a0b2-c51ea50a58e2' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"created_at": "2026-09-30T19:32:13.104Z",
"created_by": {
"email": null,
"full_name": null,
"profile_uid": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0",
"username": "elastic"
},
"data": {
"content": "A new comment."
},
"id": "8048b460-fe2b-11ec-b15d-779a7c8bbcc3",
"owner": "cases",
"pushed_at": null,
"pushed_by": null,
"type": "comment",
"updated_at": null,
"updated_by": null,
"version": "WzIzLDFd"
}
Response examples (401)
{
"error": "Unauthorized",
"message": "Unable to authenticate with the provided credentials.",
"statusCode": 401
}
Response examples (403)
{
"error": "Forbidden",
"message": "Unauthorized to access cases",
"statusCode": 403
}
Response examples (404)
{
"error": "Not Found",
"message": "Saved object [cases-template/9da1ea2a-09f8-4d0e-bf9d-09bf8c9d0f42] not found",
"statusCode": 404
}