spending_limit_reached
Spending limit reached. This generation would go over the spending limit set for this API key or app.
| HTTP status | 402 |
| Type | payment_required_error |
| Code | spending_limit_reached |
| Can retrying help? | No. The same request gets the same answer until you change it or fix the cause. |
| Charged? | No. This refusal is free. |
What to do
Section titled “What to do”Wait for the limit to reset, or ask the account owner to raise it at manage_url. Nothing was charged.
Example
Section titled “Example”{ "error": { "type": "payment_required_error", "code": "spending_limit_reached", "message": "This generation would go over the spending limit set for this API key or app.", "param": null, "doc_url": "https://docs.halationlab.ai/errors/spending-limit-reached/", "request_id": "req_01JD3Y5RJ6M3XW6J8K2N4P7Q9T", "manage_url": "https://app.halationlab.ai/…" }}Returned by
Section titled “Returned by”POST /v1/generations: Start a generation
See Errors for the error shape and how to handle errors in general, and Billing outcomes for what every outcome costs.