Spaces method and path for this operation:
get /s/{space_id}/api/cases/configure
Refer to Spaces for more information.
Get setting details such as the closure type, custom fields, templates, and the default connector for cases. You must have read privileges for the Cases feature in the Management, Observability, or Security section of the Kibana feature privileges, depending on where the cases were created.
GET
/api/cases/configure
curl \
--request GET 'https://localhost:5601/api/cases/configure' \
--header "Authorization: $API_KEY"
Response examples (200)
[
{
"closure_type": "close-by-user",
"connector": {
"fields": null,
"id": "none",
"name": "none",
"type": ".none"
},
"created_at": "2024-07-01T17:07:17.767Z",
"created_by": {
"email": null,
"full_name": null,
"username": "elastic"
},
"customFields": [
{
"defaultValue": "Custom text field value.",
"key": "d312efda-ec2b-42ec-9e2c-84981795c581",
"label": "my-text-field",
"type": "text",
"required": false
}
],
"error": null,
"id": "856ee650-6c82-11ee-a20a-6164169afa58",
"mappings": [],
"observableTypes": [],
"owner": "cases",
"templates": [
{
"caseFields": {
"assignees": [
{
"uid": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0"
}
],
"category": "Default-category",
"connector": {
"fields": null,
"id": "none",
"name": "none",
"type": ".none"
},
"customFields": [
{
"key": "d312efda-ec2b-42ec-9e2c-84981795c581",
"type": "text",
"value": "Default text field value."
}
],
"description": "A default description for cases.",
"settings": {
"syncAlerts": false
},
"tags": [
"Default case tag"
],
"title": "Default case title"
},
"description": "A description of the template.",
"key": "505932fe-ee3a-4960-a661-c781b5acdb05",
"name": "template-1",
"tags": [
"Template tag 1"
]
}
],
"updated_at": null,
"updated_by": null,
"version": "WzEyLDNd"
}
]
Response examples (401)
{
"error": "Unauthorized",
"message": "Unable to authenticate with the provided credentials.",
"statusCode": 401
}