# search_queries_only on POST /v1/chat is deprecated

Cohere deprecated POST /v1/chat, body parameter search_queries_only without giving a shutdown date yet.

Cohere has deprecated the body parameter search_queries_only on the POST /v1/chat endpoint without a shutdown date. Requests that continue sending this parameter will eventually fail once it is fully removed.

## What to use instead

Use the v2 Chat API with tools to generate search queries.

- API: Cohere (api.cohere.ai)
- Kind: Parameter removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /v1/chat`, `body parameter search_queries_only`
- Source: [Announcement](https://docs.cohere.com/docs/deprecations.md)
- Verified: November 6, 2026, against Cohere's own pages
- Page: https://www.okapi.bot/providers/cohere/breaking-changes/search-queries-only-on-post-v1-chat-is-deprecated/

## Cohere's words

> Deprecated Features and API Endpoints: * `/v1/connectors` (Managed connectors for RAG) * `/v1/chat` parameters: `connectors`, `search_queries_only`

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