xAI Messages API Endpoint Deprecation Notice

Dear xAI Developers,

We are writing to inform you about an important update regarding the xAI API. The Messages endpoint (/v1/messages) will be removed from the xAI API on February 20, 2026. After this date, any requests sent to /v1/messages will return a 410 Gone error, indicating that the resource is no longer available at the specified URL.

As a proactive measure, we strongly recommend all xAI API users to migrate to our more advanced services: the gRPC-based Chat service or the RESTful Responses API. These services will not only continue to provide seamless functionality but also grant access to our latest features and improvements.

For detailed guidance on how to transition to the gRPC Chat / Responses API, please refer to our comprehensive documentation available at Responses API | xAI. This resource will provide you with all the necessary information and steps to ensure a smooth migration.

We understand that transitioning to a new API can be a significant task, and we are committed to providing the support and resources needed to make this process as effortless as possible. If you have any questions or require assistance, please do not hesitate to reach out to our support team.

Thank you for your understanding and cooperation as we continue to enhance our services for you.

Best regards,

The xAI Team

标签: none

评论已关闭