v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBCollection Documents
Count documents in a collection.
Return the total number of documents in the collection. This is the obvious REST endpoint for a document count; it is declared before the /{document_id} route so the literal count segment is never matched as a document id (which previously produced a misleading 404).
get/v1/collections/{collection_identifier}/documents/count
Path parameters
collection_identifierstring required
The ID of the collection to count documents in.
The ID of the collection to count documents in.
Response
Successful Response