Skip to main content
GET
/
v1
/
namespaces
/
{namespace_identifier}
/
stats
Get Namespace Stats
curl --request GET \
  --url https://api.mixpeek.com/v1/namespaces/{namespace_identifier}/stats
{
  "namespace_id": "<string>",
  "document_count": 0,
  "bucket_count": 0,
  "collection_count": 0,
  "object_count": 0
}

Documentation Index

Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

Examples:

"Bearer YOUR_API_KEY"

"Bearer YOUR_STRIPE_API_KEY"

Path Parameters

namespace_identifier
string
required

Either the namespace name or namespace ID

Examples:

"my_namespace"

"ns_1234567890"

Response

Successful Response

Per-namespace statistics (counts) returned by the stats endpoint.

namespace_id
string
required

Namespace identifier

document_count
integer
default:0

Total number of documents in this namespace

bucket_count
integer
default:0

Total number of buckets in this namespace

collection_count
integer
default:0

Total number of collections in this namespace

object_count
integer
default:0

Total number of objects across all buckets in this namespace