Trying to hit the api from cloud studio to run a string against an arbitrary number of trained intents.
This is my code:
const token = 'bp_pat_.....';
const botId = '6d4610ba......'; // Replace with your bot's ID
const url = `https://api.botpress.cloud/v1/bots/${botId}/nlu/predict`;
And I get a 404. Not even JSON 404 its 404 as in I havent ever heard of this uri.
OK so I found someone on this board tried to hit
https://api.botpress.cloud/v1/chat/users
Great. So I fire up postman and add my bearer token (properly ... I know my APIs)....OK Ill stop the whole explaination.
It seems much of the info in the API doc is out of date. Does anyone know how to use axios and the botpress api to access the NLU so I can do the above task?