Vantage · Arazzo Workflow

Vantage Create an Anomaly Alert for a New Cost Report

Version 1.0.0

Create a Cost Report and attach an anomaly alert with a spend threshold.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub BudgetsCloud PricingCost ManagementCostsFinOpsArazzoWorkflows

Provider

vantage

Workflows

create-anomaly-alert-for-report
Create a Cost Report and an Anomaly Alert that watches it.
Creates a Cost Report, creates an Anomaly Alert referencing that report's token with a threshold, and fetches the alert back by token.
3 steps inputs: apiToken, filter, threshold, title, workspaceToken outputs: anomalyAlertToken, costReportToken
1
createReport
Create the Cost Report the anomaly alert will monitor.
2
createAnomalyAlert
Create an Anomaly Alert that watches the new Cost Report at the supplied threshold.
3
getAnomalyAlert
Read the Anomaly Alert back by token to confirm it was created.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Vantage Create an Anomaly Alert for a New Cost Report
  summary: Create a Cost Report and attach an anomaly alert with a spend threshold.
  description: >-
    A proactive Vantage detection pattern. The workflow creates a Cost Report
    scoped to a VQL filter, attaches an Anomaly Alert with a numeric threshold so
    Vantage flags unexpected spend on that report, and reads the alert back to
    confirm it was created. Every step spells out its request inline — including
    the Bearer token — so the flow can be read and executed without opening the
    underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: anomalyAlertsApi
  url: ../openapi/vantage-anomaly-alerts-api-openapi.yml
  type: openapi
- name: costReportsApi
  url: ../openapi/vantage-cost-reports-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-anomaly-alert-for-report
  summary: Create a Cost Report and an Anomaly Alert that watches it.
  description: >-
    Creates a Cost Report, creates an Anomaly Alert referencing that report's
    token with a threshold, and fetches the alert back by token.
  inputs:
    type: object
    required:
    - apiToken
    - title
    - filter
    - workspaceToken
    - threshold
    properties:
      apiToken:
        type: string
        description: Vantage API token used as the Bearer credential.
      title:
        type: string
        description: Human-readable title for the new Cost Report.
      filter:
        type: string
        description: A VQL filter expression scoping the Cost Report.
      workspaceToken:
        type: string
        description: The workspace token the Cost Report belongs to.
      threshold:
        type: number
        description: The anomaly detection threshold for the alert.
  steps:
  - stepId: createReport
    description: Create the Cost Report the anomaly alert will monitor.
    operationId: createCostReport
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiToken
    requestBody:
      contentType: application/json
      payload:
        title: $inputs.title
        filter: $inputs.filter
        workspace_token: $inputs.workspaceToken
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      costReportToken: $response.body#/token
  - stepId: createAnomalyAlert
    description: >-
      Create an Anomaly Alert that watches the new Cost Report at the supplied
      threshold.
    operationId: createAnomalyAlert
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiToken
    requestBody:
      contentType: application/json
      payload:
        cost_report_token: $steps.createReport.outputs.costReportToken
        threshold: $inputs.threshold
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      anomalyAlertToken: $response.body#/token
  - stepId: getAnomalyAlert
    description: Read the Anomaly Alert back by token to confirm it was created.
    operationId: getAnomalyAlert
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiToken
    - name: anomaly_alert_token
      in: path
      value: $steps.createAnomalyAlert.outputs.anomalyAlertToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      threshold: $response.body#/threshold
  outputs:
    costReportToken: $steps.createReport.outputs.costReportToken
    anomalyAlertToken: $steps.createAnomalyAlert.outputs.anomalyAlertToken

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/vantage-create-anomaly-alert-for-report-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.