# Api version in Query-time parameters?

**URL:** <https://forum.weaviate.io/t/api-version-in-query-time-parameters/2368>\
**Category:** Support\
**Tags:** python\
**Created:** [May 17, 2024, 11:14am UTC](https://forum.weaviate.io/t/api-version-in-query-time-parameters/2368 "2024-05-17T11:14:49Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Steve](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/steve/32/1531_2.png) [@Steve](https://forum.weaviate.io/u/Steve)\
**Post date:** [May 17, 2024, 1:17pm UTC](https://forum.weaviate.io/t/api-version-in-query-time-parameters/2368/3 "2024-05-17T13:17:59Z")

</div>

Yes, I added those to the collection definition and those worked for vectorizing our documents. but what about when I want to deploy the application and we are using a different base\_url when deployed?

So if i want to vector search with “nearText” using a different base\_url. Thas base\_url should be added in the headers like “X-OpenAI-BaseURL”: {baseUrl} since I am making REST Api calls

---

_[View the full topic](https://forum.weaviate.io/t/api-version-in-query-time-parameters/2368)._
