Okapi Okapi

xAI · Endpoint removal

POST /v1/messages is deprecated

Deprecated, no date

xAI deprecated POST /v1/messages without giving a shutdown date yet.

What to use instead of these calls

Use POST /v1/responses (Responses API) or the gRPC API.

Calls it hits

  • POST /v1/messages

Facts

API
xAI api.x.ai
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated

More from xAI

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub