Skip to main content

Month-to-date coordinator spend for an initiative — per-user and initiative-wide token + USD totals, aggregated from `coordinator.consults` (SUM of `tokens_in` / `tokens_out` / `usd_cents` since the start of the current month, grouped by user)

GET 

/api/coordinator/cost

Month-to-date coordinator spend for an initiative — per-user and initiative-wide token + USD totals, aggregated from coordinator.consults (SUM of tokens_in / tokens_out / usd_cents since the start of the current month, grouped by user). Backs the cost tiles in Directory's coordinator chat header. Tenant + initiative isolation is enforced by the consults_tenant_read RLS policy, so a non-member reads all-zero totals.

Request

Responses

Successful response