Get action APIedit

Retrieves an action by ID.

Requestedit

GET <kibana host>:<port>/api/actions/action/<id>

Path parametersedit

id
(Required, string) The ID of the action.

Response codeedit

200
Indicates a successful call.

Exampleedit

$ 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
}