Elastic Agents
Get an agent
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/{agentId}</span></div>Refer to Spaces for more information.
Get an agent by ID.<br/><br/>[Required authorization] Route required privileges: fleet-agents-read.
get/api/fleet/agents/{agentId}
Path parameters
agentIdstring required
The agent ID
Query parameters
withMetricsboolean
When true, include CPU and memory metrics in the response
Response
Successful response