IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Get tags API
editGet tags API
editAggregates and returns a list of case tags.
Request
editGET <kibana host>:<port>/api/cases/tags
GET <kibana host>:<port>/s/<space_id>/api/cases/tags
Prerequisites
editYou 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 you’re seeking.
Path parameters
edit-
<space_id>
- (Optional, string) An identifier for the space. If it is not specified, the default space is used.
Query parameters
edit-
owner
-
(Optional, string or array of strings) A filter to limit the retrieved tags to a
specific set of applications. Valid values are:
cases
,observability
, andsecuritySolution
. If this parameter is omitted, the response contains tags from all cases that the user has access to read.
Response codes
edit-
200
- Indicates a successful call.
Examples
editGET api/cases/tags
The API returns a JSON object with tags from all the cases that the user has access to read. For example:
[ "observability", "security", "tag 1", "tag 2" ]