Get Tenants
Get all tenants managed by the authenticated user. Returns tenant details with HashIDs and usage statistics.
Query Parameters
- Type: integer · Limitlimitmin:1max:1000
Integer numbers.
- Type: integer · Offsetoffsetmin:0
Integer numbers.
Responses
- application/json
- application/json
Request Example for get/admin/tenants
curl 'https://ai.hatz.ai/v1/admin/tenants?limit=100&offset=0' \
--header 'X-API-Key: YOUR_SECRET_TOKEN'
[
{
"id": "string",
"name": "string",
"primary_package_name": "string",
"additional_package_names": [],
"user_count": 0,
"status": "Active",
"created_at": "string",
"total_credits_used": 1,
"total_credit_limit": 1,
"tenant_config": {
"beta_features": false,
"mfa_required": false,
"default_model_name": "string"
},
"disabled_model_names": []
}
]