Check agent health
GET/api/v2/agent/status/health-check
Performs health check on the agent including network connectivity, server reachability, and GetApp-UI component status. Network availability is checked using the configured NETWORK_AVAILABILITY_URL environment variable.
Request
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
components
object[]
required
The liveness of other components, by default including the GetApp-UI component.
An optional error message if there was an issue with the component.
true if the component is live, false otherwise.
The name of the component.
network
object
Basic connectivity status — server reachability and internet availability.
An optional error message if there was an issue with the connections.
Indicates whether the agent has an active internet connection.
The address of the server the agent is trying to connect to.
Indicates whether the agent can successfully connect to the server.
Network connection type: "Ethernet", "WiFi", "Cellular", or "Unknown".
Download bandwidth in Kbps (from latest confirmed measurement).
ISO 8601 timestamp of the last bandwidth measurement.
Upload bandwidth in Kbps (from latest confirmed measurement).
{
"components": [
{
"err_msg": "string",
"live": true,
"name": "string"
}
],
"network": {
"errMsg": "string",
"internetConnection": true,
"serverAddress": "string",
"serverConnection": true,
"connectionType": "string",
"downloadKbps": 0,
"measuredAt": "string",
"uploadKbps": 0
}
}