Retrieve Status of Agent Groups
get
/ic/api/integration/v1/monitoring/agentgroups
Retrieves monitoring data for all agent groups including current availability status.
Request
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.
-
orderBy: string
Orders results by name or last updated time.
Examples:
/agentgroups?orderBy=time
/agentgroups?orderBy=name
-
q: string
Filters results by agent group name.
Example:
{name:'Execution Agents Group'}
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 : AgentGroupsMonitoringRs
Type:
Show Source
object
-
has-more: boolean
Has More
-
items: array
items
List of Agent Group
-
limit: integer
(int32)
Limit
-
total-results: integer
(int32)
Total Results
Nested Schema : AgentGroupMonitoringRs
Type:
Show Source
object
-
agents: array
agents
List of Agents
-
created-by: string
Created By
-
created-date: string
(date-time)
Created Date
-
description: string
Description
-
display-status: string
Display Status
-
last-updated-by: string
Last Updated By
-
last-updated-date: string
(date-time)
Last Updated Date
-
name: string
Name
-
status: string
Allowed Values:
[ "AVAILABLE", "UNAVAILABLE", "PARTIALLY_AVAILABLE" ]
-
type: string
Allowed Values:
[ "ADAPTER_AGENT", "EXECUTION_AGENT" ]
-
version: string
Version
Nested 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 agent groups 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 Agent Groups
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?integrationInstance=service-instance