# /v1/proxy is deprecated

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

- 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)
- Page: https://www.okapi.bot/providers/portkey-api/breaking-changes/v1-proxy-is-deprecated/

## What to use instead

Call the OpenAI-compatible routes directly under https://api.portkey.ai/v1 (/v1/chat/completions, /v1/completions, /v1/embeddings) with the x-portkey-provider or x-portkey-virtual-key header instead of x-portkey-mode.

## Portkey API's words

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