{
  "opencollection": "1.0.0",
  "info": {
    "name": "Fast ACCOUNT_COSTS ALERTS_V1 API",
    "version": "0.1.0"
  },
  "items": [
    {
      "info": {
        "name": "ALERTS_V1",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Rules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/alerts/rules",
            "params": [
              {
                "name": "rule_type",
                "value": "",
                "type": "query",
                "description": "'alert' or 'report'"
              },
              {
                "name": "platform",
                "value": "",
                "type": "query",
                "description": "'snowflake' or 'databricks'"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              },
              {
                "name": "category",
                "value": "",
                "type": "query"
              },
              {
                "name": "search",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number"
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "Page size"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Paginated list of alert/report rules."
        },
        {
          "info": {
            "name": "Create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/api/v1/alerts/rules",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new alert or report rule."
        },
        {
          "info": {
            "name": "Rules Summary",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/alerts/rules/summary",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Summary counts for the rules list page."
        },
        {
          "info": {
            "name": "Rules Filters",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/alerts/rules/filters",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Distinct filter values for the rules list page."
        },
        {
          "info": {
            "name": "Get",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/alerts/rules/:rule_id",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a single rule by ID."
        },
        {
          "info": {
            "name": "Update",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/api/v1/alerts/rules/:rule_id",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update an existing rule."
        },
        {
          "info": {
            "name": "Delete",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.myaltimate.com/api/v1/alerts/rules/:rule_id",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a rule and all its runs."
        },
        {
          "info": {
            "name": "Clone",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/api/v1/alerts/rules/:rule_id/clone",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Clone a rule. Only the owner can clone their own rules."
        },
        {
          "info": {
            "name": "Get Runs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/alerts/rules/:rule_id/runs",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "size",
                "value": "",
                "type": "query"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Paginated execution history for a rule."
        },
        {
          "info": {
            "name": "Evaluate",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/api/v1/alerts/rules/:rule_id/evaluate",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Evaluate a rule. dry_run=True for read-only, False to record the run."
        },
        {
          "info": {
            "name": "Dry Run",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/api/v1/alerts/dry-run",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Evaluate a rule config on-the-fly without persisting anything.\n\nAccepts the same JSON shape as RuleCreateRequest / the saved column,\nso the payload can be copy-pasted directly."
        },
        {
          "info": {
            "name": "Preview",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/api/v1/alerts/preview",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Preview what a metric config would produce (chart + markdown)."
        },
        {
          "info": {
            "name": "Test Notification",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/api/v1/alerts/notifications/test",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Send a test notification using a draft rule config.\n\nRuns the same evaluator + chart pipeline as a real alert against real\nClickHouse data, then dispatches via the chosen notifier (email / slack /\nwebhook). Hard-fails on validation or chart-generation errors;\nreturns 200 with `{ok: false, error}` for delivery failures.\n\nRate limited to 10 requests/minute per tenant."
        },
        {
          "info": {
            "name": "List Templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/alerts/templates",
            "params": [
              {
                "name": "platform",
                "value": "",
                "type": "query",
                "description": "Filter by platform: 'snowflake' or 'databricks'"
              },
              {
                "name": "tag",
                "value": "",
                "type": "query",
                "description": "Filter templates by tag, e.g. 'popular'"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Flat template library for the alert creation UI."
        },
        {
          "info": {
            "name": "Get Template",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/alerts/templates/:template_id",
            "params": [
              {
                "name": "template_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a single template by ID. Returns a RuleCreateRequest-ready payload."
        },
        {
          "info": {
            "name": "Metrics Catalog",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/alerts/metrics/catalog",
            "params": [
              {
                "name": "category",
                "value": "",
                "type": "query",
                "description": "Filter by entity type / category"
              },
              {
                "name": "platform",
                "value": "",
                "type": "query",
                "description": "Filter by platform: 'snowflake' or 'databricks'"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Full metrics catalog for the alerts editor."
        },
        {
          "info": {
            "name": "Get Filter Options",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.myaltimate.com/api/v1/alerts/metrics/filters/:filter_key/options",
            "params": [
              {
                "name": "filter_key",
                "value": "",
                "type": "path"
              },
              {
                "name": "metric_name",
                "value": "",
                "type": "query"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Search pattern (tags filter)"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number (tags filter)"
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "Page size (tags filter)"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Load filter options dynamically for a given filter key.\n\nFor searchable filters (e.g. tags), supports ``search``, ``page``, and ``size``\nquery parameters for paginated search-as-you-type."
        },
        {
          "info": {
            "name": "Admin Execute",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.myaltimate.com/api/v1/alerts/admin/rules/:rule_id/execute",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Execute any alert/report rule on demand (admin only).\n\nRestricted to the service user (email matching SERVICE_USER_EMAIL).\nBypasses schedule and active/inactive status checks.\nDelegates to the Celery task for actual execution.\n\nRequires a `reason` (logged for audit) and accepts an optional\n`reference_time` to evaluate as if \"now\" were a different timestamp."
        }
      ]
    }
  ],
  "bundled": true
}