# exclude_domains on POST /openai/v1/chat/completions is deprecated

Groq deprecated POST /openai/v1/chat/completions, body parameter exclude_domains without giving a shutdown date yet.

Groq deprecated the exclude_domains body parameter on POST /openai/v1/chat/completions without a shutdown date. Calls passing this parameter will eventually fail once the removal takes effect. The field sets domains to exclude when a model uses web search tools.

## What to use instead

Pass the domains in search_settings.exclude_domains instead.

- API: Groq (api.groq.com)
- Kind: Parameter removal
- Announced: May 21, 2025
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /openai/v1/chat/completions`, `body parameter exclude_domains`
- Source: [Announcement](https://console.groq.com/docs/api-reference)
- Verified: November 6, 2026, against Groq's own pages
- Page: https://www.okapi.bot/providers/groq/breaking-changes/exclude-domains-on-post-openai-v1-chat-completions-is-deprecated/

## Groq's words

> Deprecated: Use search_settings.exclude_domains instead. A list of domains to exclude from the search results when the model uses a web search tool.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
