Retrieve Status of an Agent
get
/ic/api/integration/v1/monitoring/agentgroups/{id}/agents/{key}
Retrieves monitoring data including current availability status for an agent in the specified agent group.
Request
Path Parameters
-
id(required): string
Agent group identifier.
-
key(required): string
Agent identifier.
Query Parameters
-
integrationInstance(required): string
This is the name of the service instance. You can get this value from the About page where it is specified in the Service instance field.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json; charset=utf-8
200 Response
Successful operation
Root Schema : AgentMonitoringRs
Type:
Show Source
object
-
agent-group-code: string
Agent Group Code
-
created-by: string
Created By
-
created-date: string
(date-time)
Created Date
-
description: string
Description
-
display-status: string
Display Status
-
last-locked-by: string
Last Locked By
-
last-locked-date: string
(date-time)
Last Locked Date
-
last-updated-by: string
Last Updated By
-
last-updated-date: string
(date-time)
Last Updated Date
-
name: string
Name
-
status: string
Allowed Values:
[ "REGISTERED", "ACTIVE", "UNAVAILABLE" ]
-
type: string
Allowed Values:
[ "ADAPTER_AGENT", "EXECUTION_AGENT" ]
-
version: string
Version
400 Response
Malformed parameters
500 Response
Server error
Examples
The following example shows how to retrieve the status of an agent by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.
Example: Retrieve Status of an Agent
Request:
curl -X GET -H 'Authorization: Bearer access_token' -H "Content-Type:application/json" -d @runIntegration.json https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/monitoring/agentgroups/HGBU_OHIP/agents/CA-AAMADO-MAC-1659457261187?integrationInstance=service-instance