# POST /v1/complete is deprecated

Portkey API deprecated POST /v1/complete without giving a shutdown date yet.

Portkey API announced the deprecation of POST /v1/complete on December 1, 2023, without a shutdown date. This deprecation affects all calls made to the POST /v1/complete endpoint. Following its removal, requests sent to this endpoint fail.

## What to use instead

Call POST /v1/completions (OpenAI-compatible) instead.

- API: Portkey API (api.portkey.ai)
- Kind: Endpoint removal
- Announced: December 1, 2023
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /v1/complete`
- Source: [Announcement](https://portkey.ai/docs/support/portkeys-december-migration)
- Verified: November 6, 2026, against Portkey API's own pages
- Page: https://www.okapi.bot/providers/portkey-api/breaking-changes/post-v1-complete-is-deprecated/

## Portkey API's words

> Deprecation Date API (Old) /v1/proxy /v1/complete /v1/chatComplete /v1/embed /v1/prompts/ID/generate

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