Detect Anomalies with an anomaly model and detection data
POST {{baseUrl}}/actions/detectAnomalies
Make a detect call with an anomaly model and detection data
Request Body
{"modelId"=>"ad ullamco occaecat", "requestType"=>"BASE64_ENCODED"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The client request ID for tracing. | |
if-match | string | For optimistic concurrency control. In the PUT or DELETE call | |
for a resource, set the if-match parameter to the value of the | |||
etag from a previous GET or POST response for that resource. | |||
The resource will be updated or deleted only if the etag you | |||
provide matches the resource's current etag value. | |||
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations. For example, if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
might be rejected. | |||
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |
RESPONSES
status: OK
{"detectionResults":[{"anomalies":[{"signalName":"qui sit ex","actualValue":24805432.102331355,"estimatedValue":-18220239.249568418,"anomalyScore":0.9464188894210432,"imputedValue":-89734674.80073279}],"rowIndex":48655960,"score":0.972747303385187,"timestamp":"1958-08-09T15:39:17.459Z"},{"anomalies":[{"signalName":"dolor Duis","actualValue":62046044.065146685,"estimatedValue":-60065015.458427906,"anomalyScore":0.7544910594195109,"imputedValue":-87197245.33708292}],"rowIndex":40934167,"score":0.44078854742999884,"timestamp":"1968-11-22T03:31:28.002Z"}]}