Elastic Agents
Get an uploaded file
Spaces method and path for this operation:
<div><span class="operation-verb get">get</span> <span class="operation-path">/s/{space_id}/api/fleet/agents/files/{fileId}/{fileName}</span></div>Refer to Spaces for more information.
Get a file uploaded by an agent.<br/><br/>[Required authorization] Route required privileges: fleet-agents-read.
get/api/fleet/agents/files/{fileId}/{fileName}
Request
- Base URLhttps://localhost:5601
- URLhttps://localhost:5601/api/fleet/agents/files/{fileId}/{fileName}
- Auth
- API key in header Authorization
- or HTTP basic
Path parameters
fileIdstring required
The ID of the uploaded file
fileNamestring required
The name of the uploaded file
Response
Successful response — returns the uploaded file content
object required
Changes
No operation changes recorded.