Get Tenant
curl --request GET \
--url http://localhost:8000/v1/console/tenants/{tenant_id} \
--header 'Authorization: Bearer <token>'{
"data": {
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"is_active": true,
"name": "<string>",
"slug": "<string>",
"ai_config": {
"admin_email": "<string>",
"default_language": "<string>",
"default_llm_model": "<string>",
"default_stt_language": "<string>",
"default_tts_voice": "<string>",
"max_sessions_per_student": 123,
"support_email": "<string>"
},
"allowed_origins": [],
"branding": {
"logo_url": "<string>",
"primary_color": "<string>",
"secondary_color": "<string>",
"widget_position": "<string>"
},
"domain": "<string>",
"lms_type": "<string>",
"sso_config": {
"is_enabled": true,
"provider": "<string>",
"server_url": "<string>",
"callback_url": "<string>"
},
"updated_at": "2023-11-07T05:31:56Z"
},
"message": "<string>",
"success": true
}tenants
Get Tenant
Get tenant by ID. SUPER_ADMIN or ADMIN of the tenant.
GET
/
v1
/
console
/
tenants
/
{tenant_id}
Get Tenant
curl --request GET \
--url http://localhost:8000/v1/console/tenants/{tenant_id} \
--header 'Authorization: Bearer <token>'{
"data": {
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"is_active": true,
"name": "<string>",
"slug": "<string>",
"ai_config": {
"admin_email": "<string>",
"default_language": "<string>",
"default_llm_model": "<string>",
"default_stt_language": "<string>",
"default_tts_voice": "<string>",
"max_sessions_per_student": 123,
"support_email": "<string>"
},
"allowed_origins": [],
"branding": {
"logo_url": "<string>",
"primary_color": "<string>",
"secondary_color": "<string>",
"widget_position": "<string>"
},
"domain": "<string>",
"lms_type": "<string>",
"sso_config": {
"is_enabled": true,
"provider": "<string>",
"server_url": "<string>",
"callback_url": "<string>"
},
"updated_at": "2023-11-07T05:31:56Z"
},
"message": "<string>",
"success": true
}⌘I