IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Get action API
editGet action API
editRetrieves an action by ID.
Request
editGET <kibana host>:<port>/api/actions/action/<id>
GET <kibana host>:<port>/s/<space_id>/api/actions/action/<id>
Path parameters
edit-
id
- (Required, string) The ID of the action.
-
space_id
-
(Optional, string) An identifier for the space. If
space_id
is not provided in the URL, the default space is used.
Response code
edit-
200
- Indicates a successful call.
Example
edit$ curl -X GET api/actions/action/c55b6eb0-6bad-11eb-9f3b-611eebc6c3ad
The API returns the following:
{ "id": "c55b6eb0-6bad-11eb-9f3b-611eebc6c3ad", "actionTypeId": ".index", "name": "my-action", "config": { "index": "test-index", "refresh": false, "executionTimeField": null }, "isPreconfigured": false }