Spaces method and path for this operation:
get /s/{space_id}/api/fleet/agents/files/{fileId}/{fileName}
Refer to Spaces for more information.
Get a file uploaded by an agent.
[Required authorization] Route required privileges: fleet-agents-read.
GET
/api/fleet/agents/files/{fileId}/{fileName}
curl \
--request GET 'https://localhost:5601/api/fleet/agents/files/{fileId}/{fileName}' \
--header "Authorization: $API_KEY"
Response examples (200)
The uploaded file content as a stream
<binary file content>
Response examples (400)
Example of a generic error response
{
"error": "Bad Request",
"message": "An error message describing what went wrong",
"statusCode": 400
}