All courses
AI path · course 27 of 142
When the Model Says No
Advanced · 3 lessons · 0 complete
Claude's safety classifiers can decline a request with stop_reason 'refusal' and a categorized stop_details object, all inside a successful HTTP response. This course covers how to handle refusals correctly, how server-side fallbacks re-run a declined request on another model inside the same call, and what the billing actually looks like when a chain of models gets involved.
