Skip to main content
POST
/
v5
/
vector-stores
/
{vector_store_name}
/
count
Count Vectors
curl --request POST \
  --url https://api.egp.scale.com/v5/vector-stores/{vector_store_name}/count \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{}'
{
  "count": 123
}

Authorizations

x-api-key
string
header
required

Headers

x-selected-account-id
string | null

Path Parameters

vector_store_name
string
required

The name of the vector store

Body

application/json

Request to count documents.

filter
Filter · object

Metadata filter expression

Response

Successful Response

Response for count operation.

count
integer
required

Number of documents matching the criteria