Organization FOCUS Report
Returns a FOCUS compliant billing report as a CSV download, spanning every team
in your organization. Each invoiced Orb customer is reported as a
BillingAccount. Under shared (pooled) billing — one Orb customer covering
multiple teams — each row is additionally attributed to the calling team via the
SubAccountId / SubAccountName columns.
Availability: This endpoint is available to enterprise customers with FOCUS reports and organizations enabled. Contact your account team or support@fal.ai to request access.
Must be called with an admin API key on the organization’s root team.
Supports two data sources:
- estimate: Real-time usage estimates for a date range. Under pooled billing every row is attributed to the calling team.
- invoice: Finalized invoice data for a billing month. Under pooled billing, per-team
SubAccountattribution is available on endpoint (Model API) lines that carry a caller; app and compute lines carry no caller and have no SubAccount.
Use team_username to restrict the report to a single team. Under shared
(pooled) billing this is rejected for source=invoice — the invoice is issued
to one Orb customer shared across teams and cannot be split per team; use
source=estimate for per-team figures.
Invoice reports default to the most recently available billing month. Usage estimates default to the last 24 hours, with a maximum 90-day lookback.
Authorizations
Admin API key must be prefixed with "Key ", e.g. Authorization: Key YOUR_ADMIN_API_KEY
Query Parameters
Report source. 'invoice' returns finalized invoice data for a billing month. 'estimate' returns real-time usage estimates for a date range.
invoice, estimate "estimate"
Invoice billing month (YYYY-MM). The month the invoice was issued (e.g. '2025-02' for January charges). Used with source=invoice. Defaults to most recent available billing month.
^\d{4}-\d{2}$"2025-02"
Charge month (YYYY-MM) — selects line items by the period charges were incurred, capturing them even when split across invoices issued in different months. Alternative to billing_month. Used with source=invoice.
^\d{4}-\d{2}$"2025-01"
Restrict the report to a single team (workspace nickname) in the organization. Omit to report across all teams.
"acme-ml-team"
Start date in ISO8601 format (e.g., '2025-01-01T00:00:00Z' or '2025-01-01'). Defaults to 24 hours ago.
"2025-01-01T00:00:00Z"
End date in ISO8601 format, exclusive (e.g., '2025-02-01T00:00:00Z' or '2025-02-01'). Data up to but not including this timestamp is returned. Defaults to current time.
"2025-02-01T00:00:00Z"
Timezone for date aggregation and boundaries. All timestamps in responses are in UTC, but this controls how dates are bucketed.
"UTC"
Aggregation timeframe for timeseries data (auto-detected from date range if not specified). Auto-detection uses: minute (<2h), hour (<2d), day (<64d), week (<183d), month (>=183d).
minute, hour, day, week, month "day"
Whether to adjust start/end dates to align with timeframe boundaries and use exclusive end. Defaults to true. When true, dates are aligned to the start of the timeframe period (e.g., start of day) and end is made exclusive (e.g., start of next day). When false, uses exact dates provided.
true, false "true"
Response
FOCUS compliant CSV report
The response is of type string.