Next steps
Detect and handle refusal stop reasons in streaming responses, and retry refused requests on a fallback model.
Ground Claude's responses in your source documents. Citations return the exact passages that support each claim, so you can verify answers and surface sources to your users.
Give Claude access to current web content with cited sources, optional dynamic filtering, and domain controls.
See the complete Messages API documentation, including content block types.
Cache search results with `cache_control` to reduce cost and latency on repeated requests.