credits

Check Credit Threshold

Check if user has hit credit thresholds (80%, 95%, 100%).

Useful for showing warnings/alerts in the UI.

Returns: Credit information with threshold alert if applicable

get/credits/threshold

Request

  • Base URL
    https://studio-api.meganova.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://studio-api.meganova.ai/credits/threshold
  • Auth
    OAuth 2
    Password
    Token URL: auth/token

Response

Successful Response

user_idstring required
subscription_tierstring required
credits_totalinteger required
credits_usedinteger required
credits_remaininginteger required
percentage_usednumber required
credits_reset_atstring nullable required
thresholdstring nullable

warning, critical, or depleted

messagestring nullable

User-facing message

Changes

No recorded changes to this operation across all 3 revisions of this API.