v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-076771,7565.2 MB
Elastic Agents

Get an uploaded file

Spaces method and path for this operation:

<div><span class="operation-verb get">get</span>&nbsp;<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}

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