# Query by vector across Namespaces

**URL:** <https://community.pinecone.io/t/query-by-vector-across-namespaces/4424>\
**Category:** Feature Requests\
**Created:** [February 5, 2024, 3:25pm UTC](https://community.pinecone.io/t/query-by-vector-across-namespaces/4424 "2024-02-05T15:25:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsartor](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/nsartor/32/835_2.png) [@nsartor](https://community.pinecone.io/u/nsartor)\
**Post date:** [February 5, 2024, 3:25pm UTC](https://community.pinecone.io/t/query-by-vector-across-namespaces/4424/1 "2024-02-05T15:25:00Z")

</div>

Hi,

We use Pinecone to store embeddings of different text “types”, which I organized in namespaces.

My major use case is to query for an id from namespace A and want results from namespace B.

Is this something you have considered implementing? Would save a call to fetch the vector.

The API would look something like:

```auto

pc.Index(name="MY_INDEX").query(id="MY_A_ID", namespace="A", top_k=3, target_namespace="B")

```
