Anomaly Detector Client (preview:1.1.2)

2025/10/21 • 32 deleted methods

DetectEntireSeries (removed)
Description :  This operation generates a model using the points that you sent into the API, and based on all data to determine whether the last point is anomalous. The latest point detecting operation matches the scenario of real-time monitoring of business metrics.
Reference :  Link ¶

⚼ Request

POST:  /timeseries/entire/detect
{
body:
{
series:
[
{
timestamp: string ,
value: number ,
}
,
]
,
granularity: enum ,
customInterval: integer ,
period: integer ,
maxAnomalyRatio: number ,
sensitivity: integer ,
imputeMode: enum ,
imputeFixedValue: number ,
}
,
}

⚐ Response (200)

{
period: integer ,
expectedValues:
[
number ,
]
,
upperMargins:
[
number ,
]
,
lowerMargins:
[
number ,
]
,
isAnomaly:
[
boolean ,
]
,
isNegativeAnomaly:
[
boolean ,
]
,
isPositiveAnomaly:
[
boolean ,
]
,
severity:
[
number ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
code: enum ,
message: string ,
}
,
}
DetectLastPoint (removed)
Description :  This operation generates a model using points before the latest one. With this method, only historical points are used to determine whether the target point is an anomaly. The latest point detecting operation matches the scenario of real-time monitoring of business metrics.
Reference :  Link ¶

⚼ Request

POST:  /timeseries/last/detect
{
body:
{
series:
[
{
timestamp: string ,
value: number ,
}
,
]
,
granularity: enum ,
customInterval: integer ,
period: integer ,
maxAnomalyRatio: number ,
sensitivity: integer ,
imputeMode: enum ,
imputeFixedValue: number ,
}
,
}

⚐ Response (200)

{
period: integer ,
suggestedWindow: integer ,
expectedValue: number ,
upperMargin: number ,
lowerMargin: number ,
isAnomaly: boolean ,
isNegativeAnomaly: boolean ,
isPositiveAnomaly: boolean ,
severity: number ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
code: enum ,
message: string ,
}
,
}
DetectChangePoint (removed)
Description :  Evaluate change point score of every series point
Reference :  Link ¶

⚼ Request

POST:  /timeseries/changepoint/detect
{
body:
{
series:
[
{
timestamp: string ,
value: number ,
}
,
]
,
granularity: enum ,
customInterval: integer ,
period: integer ,
stableTrendWindow: integer ,
threshold: number ,
}
,
}

⚐ Response (200)

{
period: integer ,
isChangePoint:
[
boolean ,
]
,
confidenceScores:
[
number ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
code: enum ,
message: string ,
}
,
}
TrainMultivariateModel (removed)
Description :  Create and train a multivariate anomaly detection model. The request must include a source parameter to indicate an externally accessible Azure storage Uri (preferably a Shared Access Signature Uri). All time-series used in generate the model must be zipped into one single file. Each time-series will be in a single CSV file in which the first column is timestamp and the second column is value.
Reference :  Link ¶

⚼ Request

POST:  /multivariate/models
{
body:
{
slidingWindow: integer ,
alignPolicy:
{
alignMode: enum ,
fillNAMethod: enum ,
paddingValue: number ,
}
,
source: string ,
startTime: string ,
endTime: string ,
displayName: string ,
status: enum ,
errors:
[
{
code: string ,
message: string ,
}
,
]
,
diagnosticsInfo:
{
modelState:
{
epochIds:
[
integer ,
]
,
trainLosses:
[
number ,
]
,
validationLosses:
[
number ,
]
,
latenciesInSeconds:
[
number ,
]
,
}
,
variableStates:
[
{
variable: string ,
filledNARatio: number ,
effectiveCount: integer ,
startTime: string ,
endTime: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (201)

{
location: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
code: string ,
message: string ,
}
,
}
ListMultivariateModel (removed)
Description :  List models of a subscription
Reference :  Link ¶

⚼ Request

GET:  /multivariate/models
{
$skip: integer ,
$top: integer ,
}

⚐ Response (200)

{
models:
[
{
modelId: string ,
createdTime: string ,
lastUpdatedTime: string ,
status: enum ,
displayName: string ,
variablesCount: integer ,
}
,
]
,
currentCount: integer ,
maxCount: integer ,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
code: string ,
message: string ,
}
,
}
GetMultivariateModel (removed)
Description :  Get detailed information of multivariate model, including the training status and variables used in the model.
Reference :  Link ¶

⚼ Request

GET:  /multivariate/models/{modelId}
{
modelId: string ,
}

⚐ Response (200)

{
modelId: string ,
createdTime: string ,
lastUpdatedTime: string ,
modelInfo:
{
slidingWindow: integer ,
alignPolicy:
{
alignMode: enum ,
fillNAMethod: enum ,
paddingValue: number ,
}
,
source: string ,
startTime: string ,
endTime: string ,
displayName: string ,
status: enum ,
errors:
[
{
code: string ,
message: string ,
}
,
]
,
diagnosticsInfo:
{
modelState:
{
epochIds:
[
integer ,
]
,
trainLosses:
[
number ,
]
,
validationLosses:
[
number ,
]
,
latenciesInSeconds:
[
number ,
]
,
}
,
variableStates:
[
{
variable: string ,
filledNARatio: number ,
effectiveCount: integer ,
startTime: string ,
endTime: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
code: string ,
message: string ,
}
,
}
DeleteMultivariateModel (removed)
Description :  Delete an existing multivariate model according to the modelId
Reference :  Link ¶

⚼ Request

DELETE:  /multivariate/models/{modelId}
{
modelId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
code: string ,
message: string ,
}
,
}
DetectAnomaly (removed)
Description :  Submit detection multivariate anomaly task with the trained model of modelId, the input schema should be the same with the training request. Thus request will be complete asynchronously and will return a resultId for querying the detection result.The request should be a source link to indicate an externally accessible Azure storage Uri (preferably a Shared Access Signature Uri). All time-series used in generate the model must be zipped into one single file. Each time-series will be as follows: the first column is timestamp and the second column is value.
Reference :  Link ¶

⚼ Request

POST:  /multivariate/models/{modelId}/detect
{
modelId: string ,
body:
{
source: string ,
startTime: string ,
endTime: string ,
}
,
}

⚐ Response (201)

{
location: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
code: string ,
message: string ,
}
,
}
GetDetectionResult (removed)
Description :  Get multivariate anomaly detection result based on resultId returned by the DetectAnomalyAsync api
Reference :  Link ¶

⚼ Request

GET:  /multivariate/results/{resultId}
{
resultId: string ,
}

⚐ Response (200)

{
resultId: string ,
summary:
{
status: enum ,
errors:
[
{
code: string ,
message: string ,
}
,
]
,
variableStates:
[
{
variable: string ,
filledNARatio: number ,
effectiveCount: integer ,
startTime: string ,
endTime: string ,
}
,
]
,
setupInfo:
{
source: string ,
startTime: string ,
endTime: string ,
}
,
}
,
results:
[
{
timestamp: string ,
value:
{
isAnomaly: boolean ,
severity: number ,
score: number ,
interpretation:
[
{
variable: string ,
contributionScore: number ,
correlationChanges:
{
changedVariables:
[
string ,
]
,
changedValues:
[
number ,
]
,
}
,
}
,
]
,
}
,
errors:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
code: string ,
message: string ,
}
,
}
ExportModel (removed)
Description :  Export multivariate anomaly detection model based on modelId
Reference :  Link ¶

⚼ Request

GET:  /multivariate/models/{modelId}/export
{
modelId: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
code: string ,
message: string ,
}
,
}
LastDetectAnomaly (removed)
Description :  Synchronized API for anomaly detection.
Reference :  Link ¶

⚼ Request

POST:  /multivariate/models/{modelId}/last/detect
{
modelId: string ,
body:
{
variables:
[
{
name: string ,
timestamps:
[
string ,
]
,
values:
[
number ,
]
,
}
,
]
,
detectingPoints: integer ,
}
,
}

⚐ Response (200)

{
variableStates:
[
{
variable: string ,
filledNARatio: number ,
effectiveCount: integer ,
startTime: string ,
endTime: string ,
}
,
]
,
results:
[
{
timestamp: string ,
value:
{
isAnomaly: boolean ,
severity: number ,
score: number ,
interpretation:
[
{
variable: string ,
contributionScore: number ,
correlationChanges:
{
changedVariables:
[
string ,
]
,
changedValues:
[
number ,
]
,
}
,
}
,
]
,
}
,
errors:
[
{
code: string ,
message: string ,
}
,
]
,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
code: string ,
message: string ,
}
,
}
CreateRootCauseAnalysisDataSet (removed)
Description :  Create a root cause analysis data set
Reference :  Link ¶

⚼ Request

PUT:  /rootCauseAnalysis/dataSets/{dataSetId}
{
dataSetId: string ,
body:
{
kind: enum ,
displayName: string ,
}
,
}

⚐ Response (201)

{
location: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
GetRootCauseAnalysisDataSet (removed)
Description :  Get a root cause analysis data set by its id
Reference :  Link ¶

⚼ Request

GET:  /rootCauseAnalysis/dataSets/{dataSetId}
{
dataSetId: string ,
}

⚐ Response (200)

{
kind: enum ,
dataSetId: string ,
displayName: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
DeleteRootCauseAnalysisDataSet (removed)
Description :  Delete a root cause analysis data set
Reference :  Link ¶

⚼ Request

DELETE:  /rootCauseAnalysis/dataSets/{dataSetId}
{
dataSetId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
ListRootCauseAnalysisDataSets (removed)
Description :  List root cause analysis data sets
Reference :  Link ¶

⚼ Request

GET:  /rootCauseAnalysis/dataSets
{
skip: integer ,
maxpagesize: integer ,
filter: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
kind: enum ,
dataSetId: string ,
displayName: string ,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
UploadRootCauseAnalysisDataByPartition (removed)
Description :  Upload data to root cause analysis data set by partition
Reference :  Link ¶

⚼ Request

PUT:  /rootCauseAnalysis/dataSets/{dataSetId}/timestamps/{timestamp}/partitions/{partitionId}
{
dataSetId: string ,
timestamp: string ,
partitionId: string ,
body:
{
kind: enum ,
data:
[
object ,
]
,
}
,
}

⚐ Response (201)

{
location: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
DeleteRootCauseAnalysisDataByPartitionId (removed)
Description :  Delete root cause analysis data by partition Id
Reference :  Link ¶

⚼ Request

DELETE:  /rootCauseAnalysis/dataSets/{dataSetId}/timestamps/{timestamp}/partitions/{partitionId}
{
dataSetId: string ,
timestamp: string ,
partitionId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
UploadRootCauseAnalysisDataByBlock (removed)
Description :  Upload data to root cause analysis data set by block
Reference :  Link ¶

⚼ Request

POST:  /rootCauseAnalysis/dataSets/{dataSetId}/timestamps:upload
{
dataSetId: string ,
body:
{
kind: enum ,
value:
[
{
partitionId: string ,
timestamp: string ,
data:
[
object ,
]
,
}
,
]
,
}
,
}

⚐ Response (201)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
DeleteRootCauseAnalysisDataByTimeRange (removed)
Description :  Delete root cause analysis data by time range
Reference :  Link ¶

⚼ Request

POST:  /rootCauseAnalysis/dataSets/{dataSetId}/timestamps:purge
{
dataSetId: string ,
start: string ,
end: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
ListRootCauseAnalysisDataMetaByTimestamp (removed)
Description :  List data meta for a given timestamp
Reference :  Link ¶

⚼ Request

GET:  /rootCauseAnalysis/dataSets/{dataSetId}/timestamps/{timestamp}/partitions
{
dataSetId: string ,
timestamp: string ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
partitionId: string ,
rowCount: integer ,
timestamp: string ,
lastModifiedDateTime: string ,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
ListRootCauseAnalysisDataMetaByTimeRange (removed)
Description :  List data meta
Reference :  Link ¶

⚼ Request

GET:  /rootCauseAnalysis/dataSets/{dataSetId}/timestamps
{
dataSetId: string ,
skip: integer ,
maxpagesize: integer ,
filter: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
partitionId: string ,
rowCount: integer ,
timestamp: string ,
lastModifiedDateTime: string ,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
CreateRootCauseAnalysisInstance (removed)
Description :  Create an instance for root cause analysis
Reference :  Link ¶

⚼ Request

PUT:  /rootCauseAnalysis/instances/{instanceId}
{
instanceId: string ,
body:
{
kind: enum ,
displayName: string ,
}
,
}

⚐ Response (201)

{
location: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
GetRootCauseAnalysisInstance (removed)
Description :  Query an instance information for root cause analysis
Reference :  Link ¶

⚼ Request

GET:  /rootCauseAnalysis/instances/{instanceId}
{
instanceId: string ,
}

⚐ Response (200)

{
kind: enum ,
instanceId: string ,
displayName: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
DeleteRootCauseAnalysisInstance (removed)
Description :  Delete an instance for root cause analysis
Reference :  Link ¶

⚼ Request

DELETE:  /rootCauseAnalysis/instances/{instanceId}
{
instanceId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
ListRootCauseAnalysisInstances (removed)
Description :  Get instance list for root cause analysis
Reference :  Link ¶

⚼ Request

GET:  /rootCauseAnalysis/instances
{
skip: integer ,
maxpagesize: integer ,
filter: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
kind: enum ,
instanceId: string ,
displayName: string ,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
ListRootCauseAnalysisKinds (removed)
Description :  Get kind list for root cause analysis
Reference :  Link ¶

⚼ Request

GET:  /rootCauseAnalysis/kinds
{}

⚐ Response (200)

{
kinds:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
CreateRootCauseAnalysisTrainingTask (removed)
Description :  Create a training model for root cause analysis
Reference :  Link ¶

⚼ Request

PUT:  /rootCauseAnalysis/instances/{instanceId}/models/{modelId}
{
instanceId: string ,
modelId: string ,
body:
{
displayName: string ,
kind: enum ,
parameter: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
}
,
$schema:
{
taskId: string ,
instanceId: string ,
modelId: string ,
displayName: string ,
kind: enum ,
status: enum ,
createdDateTime: string ,
lastModifiedDateTime: string ,
error:
{
message: string ,
code: string ,
}
,
taskInfo: string ,
parameter: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
DeleteRootCauseAnalysisModel (removed)
Description :  Delete a model for root cause analysis
Reference :  Link ¶

⚼ Request

DELETE:  /rootCauseAnalysis/instances/{instanceId}/models/{modelId}
{
instanceId: string ,
modelId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
GetRootCauseAnalysisTrainingState (removed)
Description :  Query a training task state for root cause analysis
Reference :  Link ¶

⚼ Request

GET:  /rootCauseAnalysis/instances/{instanceId}/models/{modelId}
{
instanceId: string ,
modelId: string ,
}

⚐ Response (200)

{
taskId: string ,
instanceId: string ,
modelId: string ,
displayName: string ,
kind: enum ,
status: enum ,
createdDateTime: string ,
lastModifiedDateTime: string ,
error:
{
message: string ,
code: string ,
}
,
taskInfo: string ,
parameter: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
ListRootCauseAnalysisTrainingStates (removed)
Description :  Query training task state list for root cause analysis
Reference :  Link ¶

⚼ Request

GET:  /rootCauseAnalysis/instances/{instanceId}/models
{
instanceId: string ,
skip: integer ,
maxpagesize: integer ,
filter: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
taskId: string ,
instanceId: string ,
modelId: string ,
displayName: string ,
kind: enum ,
status: enum ,
createdDateTime: string ,
lastModifiedDateTime: string ,
error:
{
message: string ,
code: string ,
}
,
taskInfo: string ,
parameter: string ,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
CreateRootCauseAnalysisInferenceTask (removed)
Description :  Create an inference task for root cause analysis
Reference :  Link ¶

⚼ Request

PUT:  /rootCauseAnalysis/instances/{instanceId}/models/{modelId}/inferences/{inferenceId}
{
instanceId: string ,
modelId: string ,
inferenceId: string ,
body:
{
kind: enum ,
parameter: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
}
,
$schema:
{
inferenceId: string ,
instanceId: string ,
modelId: string ,
kind: enum ,
status: enum ,
createdDateTime: string ,
lastModifiedDateTime: string ,
error:
{
message: string ,
code: string ,
}
,
result: string ,
parameter: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}
GetRootCauseAnalysisInferenceState (removed)
Description :  Query an inference task state for root cause analysis
Reference :  Link ¶

⚼ Request

GET:  /rootCauseAnalysis/instances/{instanceId}/models/{modelId}/inferences/{inferenceId}
{
instanceId: string ,
modelId: string ,
inferenceId: string ,
}

⚐ Response (200)

{
inferenceId: string ,
instanceId: string ,
modelId: string ,
kind: enum ,
status: enum ,
createdDateTime: string ,
lastModifiedDateTime: string ,
error:
{
message: string ,
code: string ,
}
,
result: string ,
parameter: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
message: string ,
code: string ,
}
,
}