Get action details
Get the details of a response action using the action ID.
Path parameters
-
action_id
string Required The ID of the action to retrieve.
GET
/api/endpoint/action/{action_id}
curl \
--request GET https://localhost:5601/api/endpoint/action/fr518850-681a-4y60-aa98-e22640cae2b8 \
--header "Authorization: $API_KEY"
Response examples (200)
{
"data": {
"id": "b3d6de74-36b0-4fa8-be46-c375bf1771bf",
"agents": [
"afdc366c-e2e0-4cdb-ae1d-94575bd2d8e0"
],
"command": "running-processes",
"outputs": {
"afdc366c-e2e0-4cdb-ae1d-94575bd2d8e0": {
"type": "json",
"content": {
"entries": [
{
"pid": "822",
"user": "Dexter",
"command": "/opt/cmd1",
"entity_id": "fk2ym7bl3oiu3okjcik0xosc0i0m75x3eh49nu3uaqt4dqanjt"
},
{
"pid": "984",
"user": "Jada",
"command": "/opt/cmd3/opt/cmd3/opt/cmd3/opt/cmd3",
"entity_id": "pwvz91m48wpj9j7ov9gtw8fp7u2rat4eu5ipte37hnhdcbi2pt"
}
]
}
}
},
"agentType": "endpoint",
"createdBy": "elastic",
"isExpired": false,
"startedAt": "2022-08-08T15:24:57.402Z",
"completedAt": "2022-08-08T09:50:47.672Z",
"isCompleted": true,
"wasSuccessful": true
}
}