curl $UPSTASH_VECTOR_REST_URL/info \ -H "Authorization: Bearer $UPSTASH_VECTOR_REST_TOKEN"
{ "result": { "vectorCount": 7, "pendingVectorCount": 0, "indexSize": 43501, "dimension": 1024, "similarityFunction": "COSINE", "indexType": "HYBRID", "denseIndex": { "dimension": 1024, "similarityFunction": "COSINE", "embeddingModel": "BGE_M3" }, "sparseIndex": { "embeddingModel": "BM25" }, "namespaces": { "": { "vectorCount": 6, "pendingVectorCount": 0 }, "ns": { "vectorCount": 1, "pendingVectorCount": 0 } } } }
Returns some information about the index.
"DENSE"
"SPARSE"
"HYBRID"
Show child attributes
"COSINE"
"EUCLIDEAN"
"DOT_PRODUCT"
""
Hide child attributes
Was this page helpful?