Assistant API giving wrong response from the data source

I’ve created the assistant through playground. Before that, I’ve been using flowise to test out the instructions and put the finalised one in playground. In flowise, the assistant give me exact url in the document, but for some reason, the assistant I’ve created through playground and called it as the api change the url format and is giving me the wrong url.