# /v1/proxy is deprecated

Portkey API deprecated /v1/proxy/* without giving a shutdown date yet.

Portkey API deprecated calls to /v1/proxy/* without a shutdown date. Requests to this route will eventually fail. The announcement was made on December 1, 2023.

## What to use instead

Direct calls to the OpenAI-compatible routes under /v1, including /v1/chat/completions, /v1/completions, and /v1/embeddings. Replace the x-portkey-mode header with either the x-portkey-provider or x-portkey-virtual-key header.

- 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: `/v1/proxy/*`
- 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/v1-proxy-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
