Set Intelligent AI Connector Thresholds
Use this REST API endpoint to set the Intelligent AI Connector (IAC) thresholds.
URL Syntax
/management/weblogic/latest/edit/customResources/IntelligentAIConnector/customResource/AIConnectorThresholdConfig
HTTP Methods
- GET
- POST
Parameters
Table 17-31 URL Parameters
| Names | Description |
|---|---|
| links | Set to none if you want to remove the links from the response. Set to an enumerated list of the links to return. For example:
|
Examples
Example 17-84 Get the IAC Thresholds
curl -u 'weblogic:<password>' \
"http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/IntelligentAIConnector/customResource/AIConnectorThresholdConfig?links=none"
Example response:
{
"identity": [
"customResources",
"IntelligentAIConnector",
"customResource",
"AIConnectorThresholdConfig"
],
"licensedPeakSTT": 0,
"peakSTTAlertThreshold": 0
}
Example 17-85 Update the IAC Thresholds
curl -X POST -u 'weblogic:<password>' \
-H "X-Requested-By: MyClient" \
-H "Content-Type: application/json" \
-d@request.json \
"http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/IntelligentAIConnector/customResource/AIConnectorThresholdConfig/"
Example request body:
{
"licensedPeakSTT": 200,
"peakSTTAlertThreshold": 90
}
The Converged Application Server responds with a 200 OK.