Download a file
Spaces method and path for this operation:
get /s/{space_id}/api/endpoint/action/{action_id}/file/{file_id}/download
Refer to Spaces for more information.
Download a file associated with a response action.
Path parameters
-
The file identifier is constructed in one of two ways:
- For Elastic Defend agents (
agentTypeofendpoint): combine theaction_idandagent_idvalues using a dot (.) separator:{file_id}={action_id}.{agent_id} - For all other agent types: the
file_idis theagent_idfor which the response action was sent to.
- For Elastic Defend agents (
GET
/api/endpoint/action/{action_id}/file/{file_id}/download
curl \
--request GET 'https://localhost:5601/api/endpoint/action/{action_id}/file/{file_id}/download' \
--header "Authorization: $API_KEY"