Spaces method and path for this operation:
Refer to Spaces for more information.
Get an agent by ID.
[Required authorization] Route required privileges: fleet-agents-read.
Responses
-
OK: A successful request.
Hide response attribute Show response attribute object
-
Additional properties are NOT allowed.
Hide item attributes Show item attributes object
-
Additional properties are allowed.
-
Not more than
10000elements.Hide components attributes Show components attributes object
-
Values are
STARTING,CONFIGURING,HEALTHY,DEGRADED,FAILED,STOPPING, orSTOPPED. -
Not more than
10000elements.Hide units attributes Show units attributes object
-
Not more than
100elements. -
Values are
error,online,degraded,updating, orstarting. -
Values are
offline,error,online,inactive,enrolling,unenrolling,unenrolled,updating,degraded,uninstalled, ororphaned. -
Additional properties are allowed.
-
Additional properties are NOT allowed.
-
Not more than
100elements. -
Hide outputs attribute Show outputs attribute object
-
Additional properties are NOT allowed.
-
-
Not more than
10000elements. -
Not more than
10elements. -
Values are
offline,error,online,inactive,enrolling,unenrolling,unenrolled,updating,degraded,uninstalled, ororphaned. -
Not more than
100elements. -
Values are
PERMANENT,EPHEMERAL, orTEMPORARY. -
Not more than
3elements. Values areinput,output, orother. -
Additional properties are NOT allowed.
-
Not more than
10000elements. -
Additional properties are NOT allowed.
Hide upgrade_details attributes Show upgrade_details attributes object | null
-
Additional properties are NOT allowed.
Hide metadata attributes Show metadata attributes object
-
Values are
UPG_REQUESTED,UPG_SCHEDULED,UPG_DOWNLOADING,UPG_EXTRACTING,UPG_REPLACING,UPG_RESTARTING,UPG_FAILED,UPG_WATCHING, orUPG_ROLLBACK.
-
Additional properties are allowed.
-
-
A bad request.
curl \
--request GET 'https://<KIBANA_URL>/api/fleet/agents/{agentId}' \
--header "Authorization: $API_KEY"