Why getting error No query provided in /query

Why I am getting this error on /query api
{
“includeValues”: true,
“topK”: 10,
“namespace”: “development”,
“filters”: {
“itemId”: {
“$eq”: 1
}
}

}

curl

curl --location --request POST 'https://index_name-project_id.svc.environment.pinecone.io/query' \
--header 'Api-Key: test-123' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data-raw '{
    "includeValues": true,
    "topK": 10,
    "namespace": "development",
        "filters": {
            "itemId": {
                "$eq": 1
            }
        }
    
}'

Hi @parmod. It’s because you’re not supplying any vectors in the query. Pinecone queries must have a vector to compute against; they can’t be run against metadata only. The metadata is there to filter out vectors that don’t match it, but the query still has to have the embeddings you’re comparing.

Thank you got it. Is there any way we can query without vectors