Skip to content

ListBudgetsData

Example Usage

typescript
import { ListBudgetsData } from "@meetkai/mka1/models/operations";

let value: ListBudgetsData = {
  id: "<id>",
  scope: "org",
  scopeId: "<id>",
  scopeOrgId: "<id>",
  owner: "org",
  period: "daily",
  limit: 2982.93,
  thresholds: [
    {
      pct: 62462,
      action: "alert",
    },
  ],
  alertWebhookUrl: "https://juicy-packaging.org/",
  spend: {
    window: "<value>",
    costSpent: 769.72,
    limit: 7248.01,
    pct: 418739,
    status: "blocked",
  },
};

Fields

FieldTypeRequiredDescription
idstring✔️N/A
scopeoperations.ListBudgetsScope✔️N/A
scopeIdstring✔️N/A
scopeOrgIdstring✔️N/A
owneroperations.ListBudgetsOwner✔️N/A
periodoperations.ListBudgetsPeriod✔️N/A
limitnumber✔️N/A
thresholdsoperations.ListBudgetsThresholds[]✔️N/A
alertWebhookUrlstring✔️N/A
spendoperations.ListBudgetsSpend✔️N/A