#13334·weaviate

REST tenant-list endpoint can't filter by name

Author: avanish-gargCreated Sep 29, 2026Updated Sep 29, 2026
Labelsfeature requestcommunity

Describe your feature request

GET /v1/schema/{className}/tenants always returns every tenant for the collection — there's no way to ask for just a specific set of tenant names, even though the underlying usecase method it calls, GetConsistentTenants(ctx, principal, class, consistency, tenants []string), already accepts a names filter and already uses it: the gRPC TenantsGet RPC (adapters/handlers/grpc/v1/tenants.go) already passes the caller's requested names straight through to the exact same method. The REST endpoint just always passes nil.

This means a client that wants to check on a handful of known tenants (e.g. polling activation status for a specific set) has to fetch the entire tenant list over REST and filter client-side, even though gRPC callers already get this for free and the server-side plumbing to support it already exists and is already exercised in production by the gRPC path.

Proposed addition: a names query parameter on GET /v1/schema/{className}/tenants, mirroring the array-query-param pattern already used by the tenants query parameter on the PUT .../index/{indexName} and POST .../index/{indexName}/rebuild endpoints in this same schema operation group.

Server Version: main branch, post-v1.39.3 (commit 5a39c0cfc1)

Code of Conduct