v5

OpenAPI 3.1.02026-08-025631,1012.8 MB
Namespaces

Get Namespace Stats

Returns document, bucket, collection, and object counts for a single namespace. Use this instead of relying on counts in the list endpoint.

get/v1/namespaces/{namespace_identifier}/stats

Path parameters

namespace_identifierstring required

Either the namespace name or namespace ID

Example:my_namespace

Either the namespace name or namespace ID

Response

Successful Response

namespace_idstring required

Namespace identifier

document_countinteger

Total number of documents in this namespace

bucket_countinteger

Total number of buckets in this namespace

collection_countinteger

Total number of collections in this namespace

object_countinteger

Total number of objects across all buckets in this namespace