Elastic Agents
Get an agent
Changed onSpaces 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}
Request
- Base URLhttps://localhost:5601
- URLhttps://localhost:5601/api/fleet/agents/{agentId}
- Auth
- API key in header Authorization
- or HTTP basic
Path parameters
agentIdstring required
The agent ID
Query parameters
withMetricsboolean
When true, include CPU and memory metrics in the response
Response
Successful response
Changes
- info
added the optional property
/to the response with the status
- info