Get an agent
- Base URL
-
https://{kibana_url}
- GET /api/fleet/agents/{agentId}
- GET /s/{space_id}/api/fleet/agents/{agentId}
Get an agent by ID.
Required authorization
- Privileges fleet-agents-read
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
Responses
Successful response
Bad Request
404
application/json
Not Found