{
  "x402Version": 2,
  "id": 32922,
  "slug": "32922",
  "resource": "https://hubvibe-io.com/work/data/anomalies",
  "description": "Anomaly detection on a time series: score recent periods against history with BigQuery AI.DETECT_ANOMALIES (TimesFM). Give one table and its latest periods are scored against its own history, or a history and a target table. Returns every checked row with bounds, anomaly flag and probability, plus the anomaly count. Input: history_table, target_table, timestamp_col, data_col; optional target_last, threshold, id_cols.",
  "type": "http",
  "serviceName": "HubVibe",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x837C40E2B4e976f43Ffb4451eE281A00fA9477dd",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000000",
      "amountUsd": 10,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "J1K4mdbvXEbJLRKpgxFcA7s66LWMCYHu71ye6Hz2icSh",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000000",
      "amountUsd": 10,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "data_col": "confirmed_cases",
            "history_table": "bigquery-public-data.covid19_nyt.us_states",
            "id_cols": [
              "state_name"
            ],
            "target_table": "bigquery-public-data.covid19_nyt.us_states",
            "timestamp_col": "date"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "attribution": [
              {
                "text": "Translated by Google",
                "url": "https://translate.google.com"
              }
            ],
            "price_usd": 10,
            "provenance": {
              "attempts": 1,
              "elapsed_ms": 340,
              "providers_used": [
                "coinbase-advanced-trade-public"
              ],
              "steps": [
                {
                  "ms": 312,
                  "ok": true,
                  "provider": "coinbase-advanced-trade-public",
                  "reason": "provider_timeout",
                  "step": "quote"
                }
              ]
            },
            "receipt_id": "rcpt_9f1c2b3a4d5e6f70",
            "receipt_url": "/work/receipts/rcpt_9f1c2b3a4d5e6f70",
            "result": {
              "anomaly_count": 2,
              "anomaly_prob_threshold": 0.95,
              "columns": [
                "state_name",
                "date",
                "confirmed_cases",
                "is_anomaly",
                "lower_bound",
                "upper_bound",
                "anomaly_probability"
              ],
              "data_col": "confirmed_cases",
              "gib_processed": 0.012,
              "history_table": "bigquery-public-data.covid19_nyt.us_states",
              "mode": "split_by_time",
              "row_count": 10,
              "rows": [
                {
                  "anomaly_probability": "0.12",
                  "confirmed_cases": "8631000",
                  "date": "2023-03-20",
                  "is_anomaly": "false",
                  "state_name": "Texas"
                }
              ],
              "target_periods": 30,
              "target_table": "bigquery-public-data.covid19_nyt.us_states",
              "timestamp_col": "date"
            },
            "status": "ok",
            "worker": "data.anomalies"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "anomaly_prob_threshold": {
                    "type": "number"
                  },
                  "data_col": {
                    "type": "string"
                  },
                  "history_table": {
                    "type": "string"
                  },
                  "id_cols": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "language": {
                    "maxLength": 35,
                    "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$",
                    "type": "string"
                  },
                  "max_scan_gib": {
                    "type": "number"
                  },
                  "target_last": {
                    "maximum": 366,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "target_table": {
                    "type": "string"
                  },
                  "timestamp_col": {
                    "type": "string"
                  }
                },
                "required": [
                  "history_table",
                  "target_table",
                  "timestamp_col",
                  "data_col"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "anomaly-detection",
    "outliers",
    "time-series",
    "monitoring",
    "timesfm",
    "bazaar"
  ],
  "sourceHost": "hubvibe-io.com",
  "lastUpdated": "2026-10-01T04:59:45.775Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-01T04:59:45.614Z"
  },
  "metadata": {
    "serviceName": "HubVibe",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "data_col": "confirmed_cases",
              "history_table": "bigquery-public-data.covid19_nyt.us_states",
              "id_cols": [
                "state_name"
              ],
              "target_table": "bigquery-public-data.covid19_nyt.us_states",
              "timestamp_col": "date"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "attribution": [
                {
                  "text": "Translated by Google",
                  "url": "https://translate.google.com"
                }
              ],
              "price_usd": 10,
              "provenance": {
                "attempts": 1,
                "elapsed_ms": 340,
                "providers_used": [
                  "coinbase-advanced-trade-public"
                ],
                "steps": [
                  {
                    "ms": 312,
                    "ok": true,
                    "provider": "coinbase-advanced-trade-public",
                    "reason": "provider_timeout",
                    "step": "quote"
                  }
                ]
              },
              "receipt_id": "rcpt_9f1c2b3a4d5e6f70",
              "receipt_url": "/work/receipts/rcpt_9f1c2b3a4d5e6f70",
              "result": {
                "anomaly_count": 2,
                "anomaly_prob_threshold": 0.95,
                "columns": [
                  "state_name",
                  "date",
                  "confirmed_cases",
                  "is_anomaly",
                  "lower_bound",
                  "upper_bound",
                  "anomaly_probability"
                ],
                "data_col": "confirmed_cases",
                "gib_processed": 0.012,
                "history_table": "bigquery-public-data.covid19_nyt.us_states",
                "mode": "split_by_time",
                "row_count": 10,
                "rows": [
                  {
                    "anomaly_probability": "0.12",
                    "confirmed_cases": "8631000",
                    "date": "2023-03-20",
                    "is_anomaly": "false",
                    "state_name": "Texas"
                  }
                ],
                "target_periods": 30,
                "target_table": "bigquery-public-data.covid19_nyt.us_states",
                "timestamp_col": "date"
              },
              "status": "ok",
              "worker": "data.anomalies"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "anomaly_prob_threshold": {
                      "type": "number"
                    },
                    "data_col": {
                      "type": "string"
                    },
                    "history_table": {
                      "type": "string"
                    },
                    "id_cols": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "language": {
                      "maxLength": 35,
                      "pattern": "^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$",
                      "type": "string"
                    },
                    "max_scan_gib": {
                      "type": "number"
                    },
                    "target_last": {
                      "maximum": 366,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "target_table": {
                      "type": "string"
                    },
                    "timestamp_col": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "history_table",
                    "target_table",
                    "timestamp_col",
                    "data_col"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "hubvibe-io.com",
    "manifest_name": "hubvibe-io.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}