See Errors for possible 401, 403, or 429 responses.
Integration best practices
Pre-flight balance checks: Call /apikeys/current-balance during system initialization or before dispatching large batch generation workloads to prevent mid-pipeline failures.
Automated threshold monitoring: Set up routine health checks in your backend service to send internal alerts or trigger auto-recharge when your account balance falls below an operational threshold.