Skip to main content
When Krixai blocks a request in blocking mode, it returns a 403 Forbidden status code. Your application should catch this error and handle it gracefully rather than crashing.

Python Example (OpenAI SDK)

Node.js Example (OpenAI SDK)