Okapi Okapi

Portkey API POST /v1/chatComplete endpoint removal

Deprecated, no dateSubscribe to Portkey APIShare

Portkey API announced the deprecation of the POST /v1/chatComplete endpoint on December 1, 2023, without a shutdown date. Calls made to POST /v1/chatComplete will fail once the removal takes effect.


Calls it hits

  • POST /v1/chatComplete

What to use instead of these calls

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

In Portkey API's words

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

Portkey API, Announcement

Facts

API
Portkey API api.portkey.ai
Kind
Endpoint removal
Announced
December 1, 2023
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Portkey API's own pages

Questions

When does this change take effect?

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

Do these calls still work?

Yes, they still work: Portkey API has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Portkey API 4

  1. No date /v1/proxy/*Endpoint removal Deprecated, no date
  2. No date POST /v1/completeEndpoint removal Deprecated, no date
  3. No date POST /v1/embedEndpoint removal Deprecated, no date
  4. No date POST /v1/prompts/{id}/generateEndpoint removal Deprecated, no date

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub

Get notifications

Subscribe to Portkey API

Hear about each breaking change Portkey API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Portkey API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.