Skip to content

Commit 0767b51

Browse files
committed
fix(organizations): remove dead metric query param from billing usage
Schema stopped supporting this on the org-level endpoint (FINUB-1907, 2026-07-09). Server never read it; sending it was silently a no-op. Ref: APIX-1679
1 parent 055a75c commit 0767b51

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎organizations/billingusage.go‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,6 @@ type BillingUsageGetParams struct {
317317
// period (when consumption happened), not billing period. The maximum date range
318318
// is 31 days.
319319
From param.Field[time.Time] `query:"from" format:"date"`
320-
// Filter results by billable metric id (e.g., workers_standard_requests).
321-
Metric param.Field[string] `query:"metric"`
322320
// End date for the usage query (ISO 8601). Required if `from` is set. When omitted
323321
// along with `from`, defaults to today. Filters by charge period (when consumption
324322
// happened), not billing period. The maximum date range is 31 days.

0 commit comments

Comments
 (0)