Count Vectors
Vector Stores
Count Vectors
Count documents in a vector store, optionally filtered by metadata.
Use Cases:
- Monitor vector store size and growth over time
- Preview the number of documents matching a filter before deletion
- Validate data ingestion by comparing expected versus actual document counts
- Analyze document distribution across metadata categories
Filtering: Apply the same metadata filter syntax as delete and list operations. Only indexed fields can be used for filtering. An empty filter counts all documents in the store.
POST
Count Vectors
Documentation Index
Fetch the complete documentation index at: https://docs.gp.scale.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Headers
Path Parameters
The name of the vector store
Body
application/json
Request to count documents.
Metadata filter expression
Response
Successful Response
Response for count operation.
Number of documents matching the criteria

