Get account info
get_accountReturns the API key owner's account: {email, diamondBalance, plan: {isPremium, status, planProductId, provider, cancelAtPeriodEnd, renewsAt}}, where plan.status is active | will_expire | paused | billing_issue | expired | refunded | none. Use it to check the diamond (credit) balance before a large create_catalog_job, or to confirm which account a key belongs to. Not needed before every create_generation (a low balance there returns 402 without charging), and it does not list tool prices (use list_models). Read-only and free. Needs a valid Fashio API key (Bearer); every call counts toward the key's daily request cap (429 when reached, 401 for a missing or revoked key).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||