# safe_prompt on POST /v1/chat/completions is deprecated

Mistral deprecated POST /v1/chat/completions, body parameter safe_prompt without giving a shutdown date yet.

- API: Mistral (api.mistral.ai)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /v1/chat/completions`, `body parameter safe_prompt`
- Source: [Announcement](https://docs.mistral.ai/resources/deprecated/guardrailing/safe_prompt)
- Page: https://www.okapi.bot/providers/mistral/breaking-changes/safe-prompt-on-post-v1-chat-completions-is-deprecated/

## What to use instead

Use Custom Guardrails in the request instead of safe_prompt.
