What is your goal?
Save the Problem
What is the problem & what have you tried?
When I use the x.ai Node (Node.js) integration, I get the error below. It looks like there have been changes to the x.ai API.
[410] Live search is deprecated. Please switch to the Agent Tools API: https://docs.x.ai/docs/guides/tools/overview
1 Like
yeah xai deprecated the live search api and its got shut down on jan 12th so thats why youre getting the 410 error. make hasnt updated the nodejs node yet to use their new agent tools api so youll need to switch to using the http module with their openai compatible endpoint instead until make updates it. check their docs at docs.x.ai for the new api format its pretty straightforward.
Welcome to the Make community!
Unfortunately, Make doesn’t have an updated Live Search module for xAI yet.
See if such an endpoint exist in the x.ai Developer API reference. If it exists, you can manually integrate the endpoint in Make using the generic HTTP “Make a request” module.
You can also suggest for the API change to be supported in the Idea Exchange. However, do search for a similar request (and also upvote), just in case it has already been suggested to avoid duplicates.

If you need assistance in setting up the generic HTTP “Make a request” module, please provide additional information about what you have tried in relation to the external service’s Developer API Reference — how you are setting the connection up, a link to the endpoint are you trying to connect to, and what errors you are encountering.
You can also complete this brand new course/tutorial in the Make Academy on how to use external APIs — API calls with HTTP modules
- API and Endpoints
- Header and body
- Multipart/form-data
- OAuth 2.0
— @samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!
Hey!, What’s happening here is that x.ai has moved away from using the Live Search API and switched to their new Agent Tools API. That’s why you’re seeing that error.
To fix it, you’ll need to switch to the Agent Tools API in your scenario. Head over to the x.ai API docs and make sure you’re using the updated endpoint for the new API. You’ll need to update your x.ai node to use these new endpoints. If you’re not sure about the exact changes, you can always check the docs or reach out to their support for help.
Once you’ve updated the API, test the integration again to make sure everything’s working smoothly.
Let me know if you run into any issues or need more help with the setup!
1 Like