Read the caller's org mnemom-native monthly usage statement
The mnemom-NATIVE monthly usage statement for the authenticated caller's organization — the itemized statement mnemom itself produces from its OWN ledger (mu_view_statement_lines), independent of Stripe's hosted invoice PDF. This is what backs the first-party downloadable PDF/CSV: a customer can obtain a record of their metered usage even when they have no Stripe invoices at all (the common prepay case). Same org-context + RBAC discipline as GET /billing/mu: RBAC is enforced before any read, and the account id is the SERVER-RESOLVED billing_account_id, never client-supplied. period is a required YYYY-MM month. READ-ONLY by construction: api presents its own mu:check service key, which carries no spend or grant scope, and the statement is a pure projection of already-recorded usage — nothing is minted or mutated. Forwards to the frozen mnemom-billing upstream GET /v1/accounts/{accountId}/statement; the {accountId, period, lines, totalUsd} body is passed through verbatim. 503 when the mnemom-mu binding/URL is unconfigured (fail-closed).
Request
- Base URL: https://api.mnemom.ai/v1
- URL: https://api.mnemom.ai/v1/billing/mu/statement
- Auth: HTTP bearer
Query parameters
Target org id. Defaults to the caller's primary org. A caller who is not a member of this org is denied 403.
The statement month, as YYYY-MM (UTC-keyed, matching the ledger).
Optional product scope (sub-projects, contract C5). Omitted → today's response, unchanged. This is an ACCOUNT-level resource (one shared μ wallet; purchases, grants and balances are not product-scoped), so a product value does NOT narrow the figures. The response body is returned unchanged and LABELLED with product_scope: { scope: "account", requested_product } (plus an X-Mnemom-Product-Scope: account response header) so a client can never mistake an account figure for a per-product one. all labels requested_product: "all". Applied AFTER auth/org/RBAC, so it can never widen access. Any value outside the enum → 400 invalid_product.
Response
The native monthly statement (mnemom-billing response, passed through verbatim): {accountId, period, lines, totalUsd}.
Changes
No recorded changes to this operation across all 1 revision of this API.