Get case configuration APIedit

Retrieves external connection details, such as the closure type and default connector for cases.

For the most up-to-date API details, refer to the open API specification.

Requestedit

GET <kibana host>:<port>/api/cases/configure

GET <kibana host>:<port>/s/<space_id>/api/cases/configure

Prerequisitesedit

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 configuration.

Path parametersedit

<space_id>
(Optional, string) An identifier for the space. If it is not specified, the default space is used.

Query parametersedit

owner
(Optional, string or array of strings) A filter to limit the retrieved details to a specific set of applications. Valid values are: cases, observability, and securitySolution. If this parameter is omitted, the response contains information for all applications that the user has access to read.

Response codeedit

200
Indicates a successful call.

Exampleedit

GET api/cases/configure?owner=cases

The API returns the following type of information:

[
  {
    "closure_type": "close-by-user",
    "owner": "cases",
    "created_at": "2022-06-01T17:07:17.767Z",
    "created_by": {
      "email": "null",
      "full_name": "null",
      "username": "elastic"
    },
    "updated_at": null,
    "updated_by": null,
    "connector": {
      "id": "131d4448-abe0-4789-939d-8ef60680b498",
      "name": "my-jira-connector",
      "type": ".jira",
      "fields": null
    },
    "mappings": [
      {
        "source": "title",
        "target": "summary",
        "action_type": "overwrite"
      },
      {
        "source": "description",
        "target": "description",
        "action_type": "overwrite"
      },
      {
        "source": "comments",
        "target": "comments",
        "action_type": "append"
      }
    ],
    "version": "WzE3NywxXQ==",
    "error": null,
    "id": "7349772f-421a-4de3-b8bb-2d9b22ccee30"
  }
]