Skip to main content

FinOps Budgets

Create, read, change, pause, resume and delete FinOps budgets: their scope, spend limit, alert and pause thresholds, email settings, current usage, and status. They are the budgets of the platform's Budgets page, with the same rule.

Every endpoint requires:

  • An API key in the X-API-Key header with the finops:read scope (reads) or finops:write (changes).
  • An API key that belongs to a platform administrator, or to an owner or admin of an organization. Other keys get 403 forbidden.

Platform administrators see and manage every budget on the platform, across all organizations. An organization owner or admin sees and manages only their own organization's budgets; another organization's budget returns 404 not-found.

All money fields are integer US cents (150000 is $1,500.00). Every timestamp is an ISO 8601 UTC instant with an explicit Z cursor and millisecond precision, for example 2026-09-23T03:00:12.532Z. Convert it to local time for display.


Budget Object​

{
"_id": "6ab33d857c6421ef14fa156c",
"name": "ML team monthly",
"description": "Cap for the ML team's workloads",
"organizationId": "org-acme",
"scope": {
"level": "resourceGroup",
"userId": null,
"resourceGroupId": "E4k5Ttqk7dtMpwbXx",
"resourceId": null,
"resourceType": null,
"tag": null
},
"budget": {
"amount": 150000,
"currency": "USD",
"type": "recurring",
"period": "monthly",
"resetDay": 1
},
"thresholds": [
{ "percent": 80, "action": "alert" },
{ "percent": 100, "action": "pause" }
],
"notifications": {
"email": true,
"mode": "digest",
"digestFrequency": "daily",
"digestHourOfDay": 9,
"digestDayOfWeek": 1,
"minSeverity": "warning",
"nextDigestAt": "2026-09-24T09:00:00.000Z",
"lastDigestSentAt": null
},
"usage": {
"current": 124310,
"percentUsed": 82.87,
"periodStart": "2026-09-01T00:00:00.000Z",
"periodEnd": "2026-10-01T00:00:00.000Z",
"lastUpdated": "2026-09-23T03:00:12.532Z"
},
"alertsSent": [
{ "percent": 80, "sentAt": "2026-09-21T14:00:05.118Z" }
],
"stoppedResources": [],
"enabled": true,
"status": "active",
"stopped": null,
"createdAt": "2026-09-01T16:02:41.284Z",
"updatedAt": "2026-09-23T03:00:12.532Z",
"createdBy": "okRpaKPh8B9asdKb2"
}
FieldDescription
_idBudget ID (24-character hex string).
name, descriptionName (up to 100 characters) and optional description (up to 500).
organizationIdOrganization the budget belongs to, or __platform__ for platform budgets and platform cost-bucket budgets.
scope.levelplatform, organization, user, resourceGroup, resourceType, resource, or tag.
scope.userIdSet for user scope: the member whose resources count.
scope.resourceGroupIdSet for resourceGroup scope.
scope.resourceTypeSet for resourceType and resource scopes: app, addon, workflow, self_hosted_model (a self-hosted model's pods: AI Gateway spend), fine_tuning, workspace, agent, automl, avatar, job, model_serving, data_forge, workflow_tool, or platform (cost buckets, resource scope only).
scope.resourceIdSet for resource scope: the resource ID, or cluster-idle, cluster-unallocated, cluster-unmounted for a platform cost bucket.
scope.tagSet for tag scope: { "key": "...", "value": "..." }.
budget.amountThe limit, in cents.
budget.typerecurring (resets every period) or total (never resets; counts all recorded spend in scope).
budget.periodRecurring only: daily, weekly, or monthly.
budget.resetDayWeekly: 1-7 (Monday-Sunday). Monthly: 1-31 (clamped to the month's last day). Not set for daily or total budgets.
thresholds[]percent (1-200) and action (alert or pause). At most one pause.
notifications.emailWhether the budget also emails its alerts (false unless chosen when it was set up or edited). Every alert is a bell notification either way.
notifications.modeWhen email is on: immediate or digest.
notifications.digestFrequency, digestHourOfDay, digestDayOfWeekDigest schedule: hourly/daily/weekly, hour 0-23 UTC, day 0-6 (Sunday-Saturday).
notifications.minSeverityLowest severity emailed: warning, error, or critical. Alerts below 100% are warnings, alerts at 100% or more are errors, and pause thresholds are critical.
notifications.nextDigestAt, lastDigestSentAtWhen the next digest is due and when the last one was sent (digest mode).
usage.currentSpend in the current period, in cents.
usage.percentUsedcurrent as a percent of amount. Can exceed 100.
usage.periodStart, usage.periodEndThe current period, from periodStart up to but not including periodEnd. Periods start at 00:00 UTC. null for total budgets.
usage.lastUpdatedWhen usage was last evaluated. Budgets are evaluated when created, edited, or resumed, and hourly.
alertsSent[]Thresholds that have fired this period (percent, sentAt). Each fires once per period; the list clears at each reset and when the amount, type, period, scope, or thresholds change.
stoppedResources[]Workloads the pause threshold stopped: resourceType, resourceId, resourceName, stoppedAt, currentSpend (cents). Clears at each reset.
enabledfalse when an administrator paused the budget, or the platform stopped it (stopped).
statusactive, paused (disabled by an administrator, or stopped by the platform), or exhausted (spend is at or over the pause threshold: workloads in scope are paused and covered launches are refused). Alert-only budgets are never exhausted.
stoppednull, or why the platform stopped the budget: { reason: "user-archived", userId, stoppedAt } when the user it is scoped to, or the last member of its organization, was archived. It resumes when that user is unarchived; a pause or resume by a manager clears it.
createdAt, updatedAtWhen the budget was created and last changed (including each evaluation).
createdByUser ID of the administrator who created the budget.

GET /api/v1/finops/budgets​

List budgets, newest first. Each budget is its summary: _id, name, description, organizationId, scope, budget, thresholds, usage, enabled, status, stopped, createdAt, updatedAt, createdBy. Its notifications, alertsSent and stoppedResources are on GET /finops/budgets/:id.

Scope: finops:read

Query Parameters

ParameterTypeRequiredDescription
scopeLevelstringNoOnly budgets of this scope: platform, organization, user, resourceGroup, resourceType, resource, tag
statusstringNoOnly budgets with this status: active, paused, exhausted
qstringNoCase-insensitive match on part of the name
limitintegerNoPage size (default 50, maximum 200)
cursorstringNometa.nextCursor of the previous page; omit for the first page

Example

curl -H "X-API-Key: $STRONGLY_API_KEY" \
"https://your-platform.example.com/api/v1/finops/budgets?status=exhausted&limit=20"

Response 200 OK

{
"data": [
{
"_id": "6ab33d857c6421ef14fa156c",
"name": "ML team monthly",
"scope": { "level": "resourceGroup", "resourceGroupId": "E4k5Ttqk7dtMpwbXx" },
"budget": { "amount": 150000, "currency": "USD", "type": "recurring", "period": "monthly", "resetDay": 1 },
"usage": { "current": 151020, "percentUsed": 100.68 },
"status": "exhausted"
}
],
"meta": {
"total": 1,
"limit": 20,
"nextCursor": null,
"requestId": "783fc8f0-67cb-49cd-829c-90f176be580f"
}
}

Each item is a budget summary (shortened above). meta.total is the number of budgets matching the filters; page through them with cursor while meta.hasMore is true.

Errors

StatusCodeWhen
400validation-errorscopeLevel or status is not one of the listed values
403forbidden / scope-requiredThe key's user is neither a platform administrator nor an owner or admin of an organization, or the key lacks finops:read
502backend-unavailableThe budget service is not reachable. Try again shortly.

GET /api/v1/finops/budgets/:id​

Get one budget with its current usage and status.

Scope: finops:read

Path Parameters

ParameterTypeRequiredDescription
idstringYesBudget ID

Response 200 OK

{
"data": { "...": "Budget object" },
"meta": { "requestId": "2496c9a7-98c9-4218-84b4-f43008bbcf32" }
}

data is the full Budget object.

Errors

StatusCodeWhen
404not-foundNo budget has this ID (including IDs that are not 24-character hex)
403forbidden / scope-requiredThe key's user is neither a platform administrator nor an owner or admin of an organization, or the key lacks finops:read
502backend-unavailableThe budget service is not reachable. Try again shortly.

POST /api/v1/finops/budgets​

Create a budget. Scope: finops:write

Body

FieldTypeRequiredDescription
namestringYesUp to 100 characters
organizationIdstringYesThe organization it belongs to (an owner or admin: their own); __platform__ for a platform scope
scopeobjectYesAs in the Budget object: level and the id its level needs
budgetobjectYesamount (cents), currency (USD), type, and period and resetDay for a recurring budget
thresholdsarrayYes[{ percent, action }]: unique percents, at most one pause
descriptionstringNoUp to 500 characters
notificationsobjectNoemail, mode, digestFrequency, digestHourOfDay, digestDayOfWeek, minSeverity
enabledbooleanNoDefault true
curl -X POST -H "X-API-Key: $STRONGLY_API_KEY" -H "Content-Type: application/json" \
"https://your-platform.example.com/api/v1/finops/budgets" \
-d '{"name": "ML team monthly", "organizationId": "org-acme", "scope": {"level": "organization"},
"budget": {"amount": 150000, "currency": "USD", "type": "recurring", "period": "monthly", "resetDay": 1},
"thresholds": [{"percent": 80, "action": "alert"}, {"percent": 100, "action": "pause"}]}'

Response 201 Created: the Budget object, evaluated at once. 400 validation-error names a member that is missing or not valid.


PATCH /api/v1/finops/budgets/:id​

Change a budget: a JSON Merge Patch of the create's members. Members left out stay; description: null removes the description (the other members cannot be removed). Scope: finops:write

Response 200 OK: the budget. Changing the amount, type, period, scope or thresholds re-arms its thresholds.


DELETE /api/v1/finops/budgets/:id​

Delete a budget, with its alerts still waiting to be sent. Scope: finops:write

Response 204 No Content


POST /api/v1/finops/budgets/:id/pause and /resume​

Pause a budget (it is not enforced and sends no alerts; status paused) or resume it. Scope: finops:write

Response 200 OK: the budget.


MCP tools​

The same calls are available to agents as MCP tools: list_finops_budgets (parameters scopeLevel, status, q), get_finops_budget, create_finops_budget, update_finops_budget, delete_finops_budget, pause_finops_budget and resume_finops_budget.