Check account and quota
whoamiCost: free. Checking never spends quota or credits, and never consumes an anonymous estimate.
Report who you are to Fermi, what a call will cost, and what is left.
Call this BEFORE an `estimate` if you need to know whether it will spend
the free anonymous allowance or an account's credits, or AFTER one to see
the new balance. It works anonymously, it is free, and it consumes
nothing -- including the anonymous daily allowance it reports.
Args:
api_key: Your Fermi API key from POST /api/v1/accounts. Omit to ask
about the anonymous caller this transport resolves to. On the
Streamable-HTTP transport an `Authorization: Bearer fmi_pat_...`
header authenticates this call too, with no argument needed.
Returns:
billing: the same block every other Fermi tool response carries --
principal ("anonymous" or "account"), account_id,
account_status, auth_source ("bearer", "api_key" or
"anonymous"), charged_to, credits_charged, credit_balance,
is_unlimited, anonymous_estimates_remaining_today, and
anonymous_quota_resets_at.
tiers: each tier's credit_cost, delivery mode ("sync"/"async") and
whether it supports the anonymous trial.
price_per_credit_usd: what one credit costs to buy.
recent_transactions: the account's last 10 credit-ledger entries;
null for an anonymous caller, which has no ledger.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||