Okapi Okapi

Mistral · Endpoint removal

safe_prompt on POST /v1/chat/completions is deprecated

Deprecated, no date

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

What to use instead of these calls

Use Custom Guardrails in the request instead of safe_prompt.

Calls it hits

  • POST /v1/chat/completions
  • body parameter safe_prompt

Facts

API
Mistral api.mistral.ai
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated

More from Mistral

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub