Skip to main content
GET
Read the caller's org mnemom-native monthly usage statement

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Query Parameters

org_id
string

Target org id. Defaults to the caller's primary org. A caller who is not a member of this org is denied 403.

period
string
required

The statement month, as YYYY-MM (UTC-keyed, matching the ledger).

Pattern: ^\d{4}-(0[1-9]|1[0-2])$
product
enum<string>

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.

Available options:
research,
design,
develop,
operate,
canon,
unattributed,
all

Response

The native monthly statement (mnemom-billing response, passed through verbatim): {accountId, period, lines, totalUsd}.

The response is of type object.