Get tags APIedit
Aggregates and returns a list of case tags.
For the most up-to-date API details, refer to the open API specification. For a preview, check out Case APIs.
Requestedit
GET <kibana host>:<port>/api/cases/tags
GET <kibana host>:<port>/s/<space_id>/api/cases/tags
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 cases you’re seeking.
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 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 codesedit
-
200
- Indicates a successful call.
Examplesedit
GET 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" ]