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
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | N/A |
scope | operations.ListBudgetsScope | ✔️ | N/A |
scopeId | string | ✔️ | N/A |
scopeOrgId | string | ✔️ | N/A |
owner | operations.ListBudgetsOwner | ✔️ | N/A |
period | operations.ListBudgetsPeriod | ✔️ | N/A |
limit | number | ✔️ | N/A |
thresholds | operations.ListBudgetsThresholds[] | ✔️ | N/A |
alertWebhookUrl | string | ✔️ | N/A |
spend | operations.ListBudgetsSpend | ✔️ | N/A |