mcp

Get Credits

Report the authenticated user's billing and subscription state.

Free, read-only probe. Use before a chargeable call to avoid a 402 mid-flow and to surface whether WriteForYou Pro access is active.

Returns entitlement plus credit_accounting. In subscription mode, credit_accounting is legacy/free-trial bookkeeping and does not gate access; use entitlement.allows_access and subscription.allows_access.

post/api/mcp/get_credits

Request

  • Base URL: https://writer.swapp1990.org (the document declares no server; this is the origin it was published from)
  • URL: https://writer.swapp1990.org/api/mcp/get_credits
  • Auth: none declared

Request body

EmptyInput required

Response

Successful Response

identityobject nullable
tierstring nullable
plansobject nullable
entitlementobject nullable
credit_accountingobject nullable
subscriptionobject nullable
can_generate_imagesboolean nullable
can_write_articlesboolean nullable
can_use_pro_experimentalboolean nullable
can_use_smart_client_authoringboolean nullable
can_use_server_llm_authoringboolean nullable

Changes

No recorded changes to this operation across all 1 revision of this API.