Get an agent

Server: https://{kibana_url}
  • GET /api/fleet/agents/{agentId}
  • GET /s/{space_id}/api/fleet/agents/{agentId}

Refer to Spaces for more information.

Get an agent by ID.

[Required authorization] Route required privileges: fleet-agents-read.

Path Parameters

agentId string required

The agent ID

Query Parameters

withMetrics boolean · default: false

When true, include CPU and memory metrics in the response

Responses

404

Not Found

application/json