Get Sub Tenant Ids
Tenants
List Sub-Tenant IDs
List all sub-tenants that have indexed data under a tenant.
GET
Get Sub Tenant Ids
When to use it
- Audit – confirm which sub-tenants exist for compliance or usage reporting
- Bulk operations – iterate over sub-tenants to apply the same operation to each
- Dynamic UI – populate dropdowns or selectors in admin dashboards
Endpoint
- Auth: Bearer token
- Idempotency: Read-only
- Async: No
Example
Query parameters
Response
Related endpoints
- Before this: Upload knowledge · Add memory – sub-tenants are created implicitly during ingestion
- Related: List data – browse content within a specific sub-tenant
Errors
Common codes:400 INVALID_PARAMETERS, 404 TENANT_NOT_FOUND. See Error Responses for the full list.
Read more: Essentials → Multi-Tenant SupportAuthorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Unique identifier for the tenant/organization
Example:
"tenant_1234"