Skip to main content

FinOps Costs

Read platform cost figures: cost per month, day, or any hourly, daily, weekly, or monthly point; who every cost belongs to, from each organization down to each workload's components; the most expensive workloads; CPU and memory efficiency; anomalies; the forecast; rightsizing savings; the dashboard's figures; and cost data collection health. Every figure comes from the same hourly cost record budgets are measured against (see Where the figures come from).

All endpoints are read-only and require an API key in the X-API-Key header with the finops:read scope.

Every figure is scoped to the key's user: a platform administrator sees every cost on the platform, Strongly's included; on Strongly Cloud an organization's owners and admins see their organization's costs; anyone else sees the costs of their own workloads. Filters narrow within that scope and never widen it.

Amounts are US dollars, except the spend fields of the dashboard statistics, which are integer US cents. Days, weeks, and months are UTC.


Windows​

Endpoints that take a window or period accept:

ValueMeaning
Nh, Nd, Ny (for example 24h, 7d, 1y)The last N hours, days (24 hours each), or years (365 days each), in whole hours counted back from the current hour. The current hour is not included.
mtdThis UTC calendar month so far
lastweekThe previous UTC calendar week, Monday to Monday
lastmonthThe previous UTC calendar month
start,endTwo ISO 8601 instants or dates. A bare start date is its 00:00 UTC; a bare end date is included.

Each hour's cost is added once the hour ends. An unknown window returns 400 validation-error.

Change on the previous period: where a response compares with the previous period, that period has the same length and ends where the window starts. A change needs all of the previous period in the cost record, so it needs twice the window of history (60 days for a 30-day window). Without it, the change and the previous period's cost are null and noChangeReason says what is missing in one line, for example "Needs 60 days of history (55 recorded)"; otherwise noChangeReason is null. A change is also null when there was no cost in the previous period.

Strongly or a person: every cost is Strongly's (what the platform costs with no user load) or a person's: an organization (the owner's, which is charged), an owner (whose workload it is: a workflow's deployer, an app's or add-on's owner, an agent's owner) and a user (who caused it: an app's signed-in user, the user a run is for; the owner when no one else did). Whatever the platform grew by for a workload (its share of a platform service's scale-up, the idle capacity and daemons of the nodes it ran on, its network and storage) is part of that workload's cost. See Where the figures come from.

Groupings: a groupBy is a level of the drill-down, each adding up to the row it was opened from:

groupByEach group isOpen it with
org (default)An organization (the owner's), and strongly for Strongly
ownerAn ownerorgId
userA user (one from another organization is listed under the owner's)ownerId (and orgId)
workloadA workload, with its type; Strongly's own costs are strongly:<id>userId (or orgId=strongly)
componentpod (its own pods and volumes), network, shared-service (platform services it scaled), node-idle, node-daemons, efs, ecr, s3; Strongly's are strongly:<source>workload
typeA workload type, and strongly
namespaceA Kubernetes namespace

An unknown groupBy returns 400 validation-error naming the ones there are.

Filters: orgId (an organization ID, with or without org-, or strongly), ownerId (the costs of this user's workloads), userId (the costs this user caused), resourceType (a workload type such as app, addon, workflow, workspace, fine-tuning, self-hosted-model, automl, model-registry, build, data-forge, tool, mcp-gateway, scheduled-job or project-job, or strongly), and workload (one workload's ID, or strongly:<id>).


Cost Point Object​

{
"date": "2026-09-01T00:00:00Z",
"total": 1234.56
}

GET /api/v1/finops/costs/monthly​

Cost per calendar month (UTC).

Scope: finops:read

Query Parameters

ParameterTypeRequiredDescription
monthsintegerNoThe last N calendar months, this one included (default: 12, at least 1)
yearintegerNoOne calendar year's months instead (for example 2026)

Response 200 OK

{
"data": {
"months": [
{ "date": "2026-08-01T00:00:00Z", "total": 8123.45 },
{ "date": "2026-09-01T00:00:00Z", "total": 7420.1 }
],
"summary": {
"averageMonthly": 7771.78,
"highestMonth": { "date": "2026-08-01T00:00:00Z", "total": 8123.45 },
"lowestMonth": { "date": "2026-09-01T00:00:00Z", "total": 7420.1 }
},
"start": "2025-10-01T00:00:00Z",
"end": "2026-09-29T14:00:00Z"
},
"meta": { "requestId": "req_abc123" }
}

Months with no recorded cost are not listed, and the average is over the months listed.


GET /api/v1/finops/costs/daily​

Cost per UTC day over a date range.

Scope: finops:read

Query Parameters

ParameterTypeRequiredDescription
startDatestringNoFirst day (YYYY-MM-DD or ISO 8601). Give with endDate
endDatestringNoLast day, included. Without both dates, the last 30 days
resourceTypestringNoOnly this resource type

Response 200 OK

{
"data": {
"days": [
{ "date": "2026-09-28T00:00:00Z", "total": 410.22 }
],
"summary": {
"totalPeriod": 12306.6,
"dailyAverage": 410.22,
"previousPeriod": 11980.4,
"changePercent": 2.72,
"trend": "stable",
"noChangeReason": null
},
"start": "2026-08-30T14:00:00Z",
"end": "2026-09-29T14:00:00Z"
},
"meta": { "requestId": "req_abc123" }
}

changePercent compares with the previous period of the same length; noChangeReason says why it is null (see Change on the previous period). trend is increasing (more than 5% up), decreasing (more than 5% down), stable, or null when there is no comparison.


GET /api/v1/finops/costs/forecast​

Daily cost projected whole weeks ahead from today (UTC) by a level that reverts toward its recent mean with a weekly season, fit to the last 90 whole days whose every hour is recorded (a day with no cost is a zero-cost day). Each day, each week, and the total has its projection (predicted, the median of 2,000 simulated paths) and 95% prediction interval (lowerBound to upperBound), calibrated by back-testing past forecasts and never below zero. backtest gives how many past next-week forecasts were checked (nextWeeks) and their median absolute percentage error (nextWeekError, 0.39 is 39%). With fewer than 21 recorded days there is no projection: predictions and weeks are empty and total and backtest are null.

Scope: finops:read

Query Parameters

ParameterTypeRequiredDescription
weeksintegerNoWhole weeks to project (1 to 52, default: 13)

Response 200 OK

{
"data": {
"historical": [
{ "date": "2026-09-28", "cost": 410.22 }
],
"predictions": [
{
"date": "2026-09-29",
"predicted": 415.3,
"lowerBound": 362.8,
"upperBound": 467.8
}
],
"weeks": [
{
"weekStart": "2026-09-29",
"weekEnd": "2026-10-05",
"predicted": 2840.1,
"lowerBound": 2210.4,
"upperBound": 3690.2
}
],
"total": { "predicted": 36920.5, "lowerBound": 24100.8, "upperBound": 57230.4 },
"interval": 0.95,
"model": "Mean-reverting level with weekly season on log daily cost, intervals calibrated by back-test",
"minimumHistoryDays": 21,
"backtest": { "nextWeeks": 36, "nextWeekError": 0.39 }
},
"meta": { "requestId": "req_abc123" }
}

A week's interval is that of the simulated week totals, not the sum of its days' intervals; the same holds for total.


GET /api/v1/finops/costs/anomalies​

Resources whose cost on the last whole day moved from their usual day. A resource's usual day is its average daily cost over the earlier days of the lookback, counting only days it had cost, so a resource that stopped is not flagged.

Scope: finops:read

Query Parameters

ParameterTypeRequiredDescription
daysintegerNoDays to look back (default: 7)
sensitivitystringNolow (the day moved by at least 100%), medium (50%, the default), or high (25%)

Response 200 OK

{
"data": {
"anomalies": [
{
"timestamp": "2026-09-28T00:00:00Z",
"resource": "ingest-pipeline",
"resourceId": "Wf8kLp2qZx7mNc4vR",
"resourceType": "workflow",
"expectedCost": 12.4,
"actualCost": 31.9,
"deviation": 1.5726,
"direction": "spike",
"severity": "high"
}
],
"period": { "days": 7, "sensitivity": "medium" }
},
"meta": { "requestId": "req_abc123" }
}

deviation is how far the day moved, as a fraction of the usual day. direction is spike or drop. severity is high when the day moved by at least twice the sensitivity's threshold, otherwise medium. Anomalies are largest first.


GET /api/v1/finops/costs/savings​

Rightsizing savings over the last 30 days: resources whose pods used under 40% of the CPU and memory they requested, with the potential saving (the cost of the unused share of their CPU and memory).

Scope: finops:read

Query Parameters

ParameterTypeRequiredDescription
categorystringNorightsizing, the only category
minSavingsnumberNoOnly recommendations saving at least this much (USD)

Response 200 OK

{
"data": {
"recommendations": [
{
"resource": "workflow-worker-abc",
"resourceId": "Wf8kLp2qZx7mNc4vR",
"resourceType": "workflow",
"category": "rightsizing",
"currentCost": 200.0,
"potentialSavings": 60.0,
"efficiency": 0.3,
"recommendation": "Its pods used 30% of the CPU and memory they requested. Lower the requests to match usage."
}
],
"totalPotentialSavings": 60.0,
"window": { "start": "2026-08-30T14:00:00Z", "end": "2026-09-29T14:00:00Z" }
},
"meta": { "requestId": "req_abc123" }
}

Recommendations are largest saving first.


GET /api/v1/finops/dashboard​

A FinOps overview: the last 30 days' statistics, daily cost over the last 30 days, the last 6 calendar months, and the 5 most expensive workloads.

Each part is read on its own. A part that could not be read is null and listed in errors with the problem the API would answer for it (part, code, status, detail, e.g. ledger-not-recorded, 409); the other parts are still answered.

Scope: finops:read

Response 200 OK

{
"data": {
"stats": { "...": "Dashboard statistics, as GET /finops/dashboard/stats" },
"costTrend": { "...": "Daily cost, as GET /finops/costs/trends" },
"monthlyCosts": {
"months": [
{ "date": "2026-09-01T00:00:00Z", "total": 7420.1 }
],
"summary": {
"averageMonthly": 7420.1,
"highestMonth": { "date": "2026-09-01T00:00:00Z", "total": 7420.1 },
"lowestMonth": { "date": "2026-09-01T00:00:00Z", "total": 7420.1 }
}
},
"topDrivers": [ { "...": "Top driver, as GET /finops/costs/top-drivers" } ],
"errors": []
},
"meta": { "requestId": "req_abc123" }
}

GET /api/v1/finops/dashboard/stats​

The dashboard's statistics for a window.

Scope: finops:read

Query Parameters

ParameterTypeRequiredDescription
periodstringNoA window (default: 30d)

Response 200 OK

{
"data": {
"totalSpend": 1230660,
"previousPeriodSpend": 1198040,
"spendTrend": 2.72,
"monthToDateSpend": 1159830,
"activeResources": 42,
"exhaustedBudgets": 1,
"anomalies": 2,
"budgetAlerts": 3,
"efficiencyScore": 38,
"start": "2026-08-30T14:00:00Z",
"end": "2026-09-29T14:00:00Z",
"hours": 720,
"hoursRecorded": 720,
"recordedFrom": "2026-07-01T00:00:00Z",
"noChangeReason": null
},
"meta": { "requestId": "req_abc123" }
}
FieldDescription
totalSpend, previousPeriodSpendCost for the window and the recorded cost of the previous period of the same length, in cents. previousPeriodSpend is null when either period has no recorded hour
spendTrendPercent change on the previous period, or null
hours, hoursRecorded, recordedFromThe window's hours, how many the cost record holds, and the record's first hour
noChangeReasonWhy there is no change, in one line ("Needs 60 days of history (55 recorded)"), or null
monthToDateSpendCost this UTC calendar month so far, in cents
activeResourcesOrganizations' resources that had cost in the window
exhaustedBudgetsBudgets in scope that reached their pause threshold
anomaliesCost anomalies in the window, at medium sensitivity
budgetAlertsexhaustedBudgets plus anomalies
efficiencyScoreCPU and memory used as a percent of requested, or null with no measured pods

GET /api/v1/finops/dashboard/top-drivers​

The most expensive workloads over a window. The same as GET /finops/costs/top-drivers, with the window named period.

Scope: finops:read

Query Parameters

ParameterTypeRequiredDescription
limitintegerNoHow many (default: 10, at most 100)
periodstringNoA window (default: 30d)

Response 200 OK

A list of top drivers, as GET /finops/costs/top-drivers.


GET /api/v1/finops/costs/realtime​

Each resource's cost over the newest hours the cost record records (by default its latest hour), with its parts and efficiency. The cost record holds an hour once its cost has been built (usually within the next hour), so the window ends at recordedThrough, the end of the latest recorded hour, not at the clock. 409 ledger-not-recorded means no cost is recorded yet; try again within the hour.

Scope: finops:read

Query Parameters

ParameterTypeRequiredDescription
windowstringNoHow many of the newest recorded hours: 1h (default), 6h, 24h, 7d
namespacestringNoOnly this Kubernetes namespace

Response 200 OK

{
"data": {
"items": [
{
"name": "dev-dashboard",
"namespace": "org-acme",
"cpuCost": 0.021,
"ramCost": 0.009,
"gpuCost": 0,
"pvCost": 0.002,
"networkCost": 0,
"totalCost": 0.034,
"cpuEfficiency": 0.22,
"ramEfficiency": 0.41,
"efficiency": 0.315,
"resourceType": "app",
"resourceId": "hT7kQw2pLm9xRz4vB",
"orgId": "acme",
"ownerId": "okRpaKPh8B9asdKb2",
"userId": "okRpaKPh8B9asdKb2"
}
],
"totalCost": 1.87,
"window": "1h",
"start": "2026-09-29T13:00:00Z",
"end": "2026-09-29T14:00:00Z",
"recordedThrough": "2026-09-29T14:00:00Z"
},
"meta": { "requestId": "req_abc123" }
}

pvCost is the resource's storage cost. Efficiency fields are usage as a fraction of requests, null where no measured pod ran.


GET /api/v1/finops/costs/historical​

Cost per group over a date range.

Scope: finops:read

Query Parameters

ParameterTypeRequiredDescription
startDatestringNoFirst day (YYYY-MM-DD or ISO 8601). Give with endDate
endDatestringNoLast day, included. Without both dates, the last 30 days
groupBystringNoA grouping (default: org)
orgIdstringNoOnly this organization (the owner's), or strongly. See filters
ownerIdstringNoOnly the costs of this user's workloads
userIdstringNoOnly the costs this user caused
resourceTypestringNoOnly this workload type, or strongly
workloadstringNoOnly this workload (strongly:<id> for one of Strongly's own costs)

Response 200 OK

{
"data": {
"items": [
{
"group": "acme",
"groupLabel": "Acme",
"totalCost": 812.4,
"cpuCost": 420.1,
"ramCost": 188.3,
"storageCost": 96.2,
"networkCost": 12.8,
"gpuCost": 0
}
],
"totalCost": 9120.4,
"startDate": "2026-09-01T00:00:00Z",
"endDate": "2026-09-29T00:00:00Z"
},
"meta": { "requestId": "req_abc123" }
}

GET /api/v1/finops/costs/breakdown​

Cost per group with its parts, its change on the previous period, and its efficiency: one level of the drill-down. The Cost Explorer's table uses the same figures.

Scope: finops:read

Query Parameters

ParameterTypeRequiredDescription
windowstringNoA window (default: 30d)
groupBystringNoA grouping (default: org)
orgIdstringNoOnly this organization (the owner's), or strongly. See filters
ownerIdstringNoOnly the costs of this user's workloads
userIdstringNoOnly the costs this user caused
resourceTypestringNoOnly this workload type, or strongly
workloadstringNoOnly this workload (strongly:<id> for one of Strongly's own costs)
namespacestringNoOnly this Kubernetes namespace

Response 200 OK

{
"data": {
"items": [
{
"group": "hT7kQw2pLm9xRz4vB",
"groupLabel": "dev-dashboard",
"totalCost": 24.6,
"computeCost": 21.3,
"cpuCost": 12.9,
"ramCost": 5.6,
"sharedCost": 2.8,
"gpuCost": 0,
"storageCost": 2.1,
"networkCost": 1.2,
"loadBalancerCost": 0,
"externalCost": 0,
"previousCost": 22.1,
"trend": 11.31,
"cpuEfficiency": 0.22,
"ramEfficiency": 0.41,
"efficiency": 0.315,
"efficiencyBasis": "measured",
"resourceType": "app",
"resourceTypeLabel": "Apps",
"orgId": "acme",
"ownerId": "okRpaKPh8B9asdKb2",
"userId": "okRpaKPh8B9asdKb2",
"namespace": "org-acme"
}
],
"totalCost": 9120.4,
"groupBy": "workload",
"start": "2026-08-30T14:00:00Z",
"end": "2026-09-29T14:00:00Z",
"hours": 720,
"hoursRecorded": 720,
"recordedFrom": "2026-07-01T00:00:00Z",
"noChangeReason": null
},
"meta": { "requestId": "req_abc123" }
}
FieldDescription
group, groupLabelThe group's key and name
totalCostCost for the window
computeCostcpuCost plus ramCost plus sharedCost (the node overhead shared into them)
gpuCost, storageCost, networkCost, loadBalancerCost, externalCostThe other parts of the cost
previousCost, trendThe group's cost in the previous period and the percent change on it. Both are null without the whole previous period in the cost record (noChangeReason says why); trend alone is null when the group had no cost in the previous period
cpuEfficiency, ramEfficiency, efficiencyCPU, memory, and their average used as a fraction of requested, null where nothing of the group's own was measured
efficiencyBasisWhat efficiency is measured on: measured (its own pods), noRequests (its pods requested no CPU or memory), byUse (no pods of its own: its share, by use, of pods others requested, as with a shared app's users or a service's scale-up), noPods (storage, images, and metered costs only), or component (a component's efficiency is its workload's)
resourceType, resourceTypeLabel, orgId, ownerId, userId, namespaceWith groupBy=workload only: the workload's type (strongly for Strongly's own), and its organization, owner, user, and namespace when it has one (a shared app used by several users has no single userId)

Items are most expensive first. totalCost is the cost of the row the level was opened from: the levels add up. noChangeReason says why no row has a change, or is null.


GET /api/v1/finops/costs/efficiency​

CPU (core-hours) and memory (byte-hours) that pods used against what they requested, overall and per group.

Scope: finops:read

Query Parameters

ParameterTypeRequiredDescription
windowstringNoA window (default: 30d)
groupBystringNoA grouping (default: org; not component)
orgIdstringNoOnly this organization (the owner's), or strongly. See filters
ownerIdstringNoOnly the costs of this user's workloads
userIdstringNoOnly the costs this user caused
resourceTypestringNoOnly this workload type, or strongly
workloadstringNoOnly this workload (strongly:<id> for one of Strongly's own costs)
namespacestringNoOnly this Kubernetes namespace

Response 200 OK

{
"data": {
"cpuRequestedCoreHours": 1840.5,
"cpuUsedCoreHours": 512.3,
"ramRequestedByteHours": 9876543210000,
"ramUsedByteHours": 4123456789000,
"cpuEfficiency": 0.278345,
"ramEfficiency": 0.417498,
"efficiency": 0.347922,
"groupBy": "org",
"byGroup": [
{
"group": "acme",
"groupLabel": "Acme",
"cpuRequestedCoreHours": 720.0,
"cpuUsedCoreHours": 158.4,
"ramRequestedByteHours": 3865470566400,
"ramUsedByteHours": 1352914698240,
"cpuEfficiency": 0.22,
"ramEfficiency": 0.35,
"efficiency": 0.285
}
],
"start": "2026-08-30T14:00:00Z",
"end": "2026-09-29T14:00:00Z"
},
"meta": { "requestId": "req_abc123" }
}

Groups are ordered by requested CPU, largest first. Cost that no pod of its own ran (storage, a share of a node's idle capacity or of a platform service) has no efficiency.


GET /api/v1/finops/costs/trends​

Cost per hour, day, week (weeks start on Monday), or month (UTC) over a window, with the window's total, daily average, and change on the previous period.

Scope: finops:read

Query Parameters

ParameterTypeRequiredDescription
windowstringNoA window (default: 30d)
granularitystringNohourly, daily (default), weekly, or monthly
groupBystringNoBreak each point down by this grouping
orgIdstringNoOnly this organization (the owner's), or strongly. See filters
ownerIdstringNoOnly the costs of this user's workloads
userIdstringNoOnly the costs this user caused
resourceTypestringNoOnly this workload type, or strongly
workloadstringNoOnly this workload (strongly:<id> for one of Strongly's own costs)

Response 200 OK

{
"data": {
"points": [
{
"timestamp": "2026-09-28T00:00:00Z",
"cost": 410.22,
"breakdown": [
{ "group": "self-hosted-model", "groupLabel": "Self-hosted models", "cost": 190.4 },
{ "group": "app", "groupLabel": "Apps", "cost": 88.7 }
]
}
],
"totalCost": 12306.6,
"previousPeriodCost": 11980.4,
"changePercent": 2.72,
"dailyAverage": 410.22,
"granularity": "daily",
"start": "2026-08-30T14:00:00Z",
"end": "2026-09-29T14:00:00Z",
"hours": 720,
"hoursRecorded": 720,
"recordedFrom": "2026-07-01T00:00:00Z",
"noChangeReason": null
},
"meta": { "requestId": "req_abc123" }
}

breakdown is present only with groupBy, most expensive first. Points with no recorded cost are not listed. hours is the window's whole hours, hoursRecorded how many of them the cost record holds and recordedFrom the record's first hour. previousPeriodCost and changePercent are null without the whole previous period in the cost record, and noChangeReason says what is missing. dailyAverage is the total divided by the window's days, and null for a window shorter than a day.


GET /api/v1/finops/costs/per-execution​

What each workflow (an agent is one) cost per run over a window: its cost (its workers, its share of the platform services and nodes it used, its runs' stored data) over the runs it started in the same hours, up to the latest hour the cost record records (end). Only workflows whose cost you may see.

Scope: finops:read

Query Parameters

ParameterTypeRequiredDescription
windowstringNoA window (default: 30d)
workflowIdstringNoOnly this workflow (or agent)

Response 200 OK

{
"data": {
"items": [
{ "workflowId": "wf-1", "workflowName": "Nightly", "totalCost": 4.5, "runs": 2, "costPerRun": 2.25 }
],
"totalCost": 4.5,
"runs": 2,
"start": "2026-09-01T00:00:00Z",
"end": "2026-10-01T00:00:00Z"
},
"meta": { "requestId": "req_abc123" }
}

costPerRun is null for a workflow that started no run in the window. 409 ledger-not-recorded means no cost is recorded for the window yet; try again within the hour.


GET /api/v1/finops/costs/top-drivers​

The most expensive workloads over a window: people's workloads, each with every component of its cost (Strongly's own costs are not workloads anyone drove).

Scope: finops:read

Query Parameters

ParameterTypeRequiredDescription
windowstringNoA window (default: 30d)
limitintegerNoHow many (default: 10, at most 100)

Response 200 OK

{
"data": [
{
"name": "llama-70b",
"resourceId": "d-7c1e9a",
"resourceType": "self-hosted-model",
"resourceTypeLabel": "Self-hosted models",
"orgId": "acme",
"ownerId": "okRpaKPh8B9asdKb2",
"totalCost": 2890.5,
"computeCost": 210.3,
"cpuCost": 120.1,
"ramCost": 60.4,
"sharedCost": 29.8,
"gpuCost": 2640.0,
"storageCost": 35.2,
"networkCost": 5.0,
"loadBalancerCost": 0,
"externalCost": 0,
"previousCost": 2750.0,
"trend": 5.11,
"cpuEfficiency": 0.41,
"ramEfficiency": 0.63,
"efficiency": 0.52
}
],
"meta": { "requestId": "req_abc123" }
}

Fields are as in GET /finops/costs/breakdown, with name for the workload's name and ownerId for its owner when it has one.


MCP tools​

The same reads are available to agents as MCP tools: get_finops_costs_monthly, get_finops_costs_daily, get_finops_cost_forecast, get_finops_cost_anomalies, get_finops_savings_recommendations, get_finops_dashboard, get_finops_dashboard_stats, get_finops_dashboard_top_drivers, get_finops_costs_realtime, get_finops_cost_per_execution, get_finops_costs_historical, get_finops_cost_breakdown, get_finops_cost_efficiency, get_finops_cost_trends, get_finops_cost_top_drivers.