Anthropic APIDeprecationmedium

Anthropic deprecates the Text Completions API in favor of Messages

Detected
Oct 8, 2026
Confidence
82%

What changed

The 'Create a Text Completion' endpoint has been marked as 'Deprecated' in the navigation of the API documentation. This signals an official deprecation of the legacy Text Completions API.

What to do

Migrate from POST /v1/complete (Text Completions) to POST /v1/messages (Messages API) for all Claude model interactions.

Affected

endpoint: POST /v1/complete (Create a Text Completion)

Source: docs.anthropic.com (Anthropic's own page, checked by Breakwatch)

Is your code affected?

Search your repositories for the Anthropic SDK and the names above:

npm: @anthropic-ai/sdkpip: anthropicruby: anthropicgo: github.com/anthropics/anthropic-sdk-gojava: com.anthropic:anthropic-javarust: anthropic

Or let Breakwatch do it: connect a repo and see which files call Anthropic, then get the next change as an alert pointing at those files. Check a repo free

Get Anthropic API changes by email

Once a week: the breaking changes and upcoming deadlines for Anthropic, each linked to the vendor's own page. Free, no account. One-click unsubscribe.

More Anthropic API changes

Every Anthropic API change →