Count points

POST

Counts the number of points that match a specified filtering condition.

Path parameters

collection_namestringRequired

Name of the collection to count in

Request

This endpoint expects an object.
shard_keystring or uint64 or list of strings or uint64s or anyOptional

Specify in which shards to look for the points, if not specified - look in all shards

filterobject or anyOptional

Look only for points which satisfies this conditions

exactbooleanOptional

If true, count exact number of points. If false, count approximate number of points faster. Approximate count might be unreliable during the indexing process. Default: true

Response

successful operation

timedoubleOptional

Time spent to process this request

statusstringOptional
resultobjectOptional