Skip to content

GetTeamBudgetsData ​

Example Usage ​

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

let value: GetTeamBudgetsData = {
  id: "<id>",
  scope: "org",
  scopeId: "<id>",
  scopeOrgId: "<id>",
  owner: "cluster",
  period: "weekly",
  limit: 370.09,
  thresholds: [
    {
      pct: 274634,
      action: "block",
    },
  ],
  alertWebhookUrl: "https://elliptical-hello.name",
  spend: {
    window: "<value>",
    costSpent: 5520.93,
    limit: 1908.23,
    pct: 567358,
    status: "ok",
  },
};

Fields ​

FieldTypeRequiredDescription
idstring✔️N/A
scopeoperations.GetTeamBudgetsScope✔️N/A
scopeIdstring✔️N/A
scopeOrgIdstring✔️N/A
owneroperations.GetTeamBudgetsOwner✔️N/A
periodoperations.GetTeamBudgetsPeriod✔️N/A
limitnumber✔️N/A
thresholdsoperations.GetTeamBudgetsThresholds[]✔️N/A
alertWebhookUrlstring✔️N/A
spendoperations.GetTeamBudgetsSpend✔️N/A