@@ -71,6 +71,7 @@ model MultivariateBatchDetectionResultSummary {
7171
7272 @doc("Error message when detection is failed.")
7373 errors?: ErrorResponse[];
74+ @doc("Variable Status.")
7475 variableStates?: VariableState[];
7576
7677 @doc("""
@@ -80,6 +81,7 @@ will need another API to get detection results.
8081 setupInfo: MultivariateBatchDetectionOptions;
8182}
8283
84+ @doc("ErrorResponse contains code and message that shows the error information.")
8385@error
8486model ErrorResponse {
8587
@@ -90,6 +92,7 @@ model ErrorResponse {
9092 message: string;
9193}
9294
95+ @doc("Variable Status.")
9396model VariableState {
9497 @doc("Variable name in variable states.")
9598 variable?: string;
@@ -142,15 +145,18 @@ be date-time of ISO 8601 format.
142145 endTime: zonedDateTime;
143146}
144147
148+ @doc("Anomaly status and information.")
145149model AnomalyState {
146150 @doc("The timestamp for this anomaly.")
147151 timestamp: zonedDateTime;
152+ @doc("The detailed value of this anomalous timestamp.")
148153 value?: AnomalyValue;
149154
150155 @doc("Error message for the current timestamp.")
151156 errors?: ErrorResponse[];
152157}
153158
159+ @doc("Detailed information of the anomalous timestamp.")
154160model AnomalyValue {
155161 @doc("True if an anomaly is detected at the current timestamp.")
156162 isAnomaly: boolean;
@@ -170,9 +176,11 @@ well.
170176 @minValue(0.0)
171177 @maxValue(2.0)
172178 score: float32;
179+ @doc("Interpretation of this anomalous timestamp.")
173180 interpretation?: AnomalyInterpretation[];
174181}
175182
183+ @doc("Interpretation of the anomalous timestamp.")
176184model AnomalyInterpretation {
177185 @doc("Variable.")
178186 variable?: string;
@@ -182,9 +190,11 @@ This score shows the percentage contributing to the anomalous timestamp. A
182190number between 0 and 1.
183191""")
184192 contributionScore?: float32;
193+ @doc("Correlation changes among the anomalous variables")
185194 correlationChanges?: CorrelationChanges;
186195}
187196
197+ @doc("Correlation changes among the anomalous variables")
188198model CorrelationChanges {
189199 @doc("The correlated variables that have correlation changes under an anomaly.")
190200 changedVariables?: string[];
@@ -267,10 +277,13 @@ Previous, Subsequent, Linear, Zero, Fixed.
267277
268278@doc("Diagnostics information to help inspect the states of model or variable.")
269279model DiagnosticsInfo {
280+ @doc("Model status.")
270281 modelState?: ModelState;
282+ @doc("Variable Status.")
271283 variableStates?: VariableState[];
272284}
273285
286+ @doc("Model status.")
274287model ModelState {
275288 @doc("""
276289This indicates the number of passes of the entire training dataset the
@@ -333,6 +346,7 @@ model ModelList {
333346 nextLink?: string;
334347}
335348
349+ @doc("Request of last detection.")
336350model MultivariateLastDetectionOptions {
337351 @doc("""
338352This contains the inference data, including the name, timestamps(ISO 8601) and
@@ -348,6 +362,7 @@ variables for one anomalous timestamp in the response. The default number is
348362 topContributorCount: int32;
349363}
350364
365+ @doc("Variable values.")
351366model VariableValues {
352367 @doc("Variable name of last detection request.")
353368 variable: string;
@@ -359,8 +374,12 @@ model VariableValues {
359374 values: float32[];
360375}
361376
377+
378+ @doc("Results of last detection.")
362379model MultivariateLastDetectionResult {
380+ @doc("Variable Status.")
363381 variableStates?: VariableState[];
382+ @doc("Anomaly status and information.")
364383 results?: AnomalyState[];
365384}
366385
0 commit comments