Skip to main content
POST

Authorizations

Authorization
string
header
required

Admin JWT or access token for authenticating requests to VectorAI DB.

Path Parameters

collection_name
string
required

The name of the collection to count points in.

Body

application/json
filter
object

Optional filter conditions. Only points matching the filter are counted.

exact
boolean
default:true

If true, returns an exact count. If false, returns a faster approximate count. Defaults to true.

Example:

true

Response

Count result

usage
object
time
number<double>

Time spent to process this request, in seconds.

Example:

0.000004424

status
string

Operation status.

Example:

"ok"

result
object