Guardrails
Guardrails limit where an API key can be used from, which tiers and models it can use, and how much budget it can spend.
Recommended Setup
Available Limits
Rejected Requests
Change Policy
Use a new key to replace the old key:
- Create a new key with the new policy.
- Send a test request with
X-Request-ID. - Confirm logs and usage in JoyToken Console.
- Switch production environment variables.
- Revoke the old key after observation.