Tenant management endpoints for checking workspace status and resetting playground environments.Documentation Index
Fetch the complete documentation index at: https://docs.kaireonai.com/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/v1/tenant/status
Check tenant status including playground status and quota usage. No authentication required beyond tenant context.Response (playground tenant)
Response (non-playground tenant)
Non-playground tenants only receive
isPlayground and isDemoMode. The quota and data fields are omitted.| Field | Description |
|---|---|
isPlayground | Whether the tenant is a playground workspace |
isDemoMode | Whether the server is running in demo mode (DEMO_MODE=true) |
hasData | Whether the tenant has any categories configured (playground only) |
quotaUsed | Number of decisions used (playground only) |
quotaLimit | Lifetime decision cap (playground only) |
quotaExceeded | Whether the quota has been exceeded (playground only) |
POST /api/v1/tenant/reset
Reset a playground workspace, deleting all tenant data. Only available for playground tenants. Admin only.Request Body
| Field | Type | Required | Description |
|---|---|---|---|
confirm | boolean | Yes | Must be true to proceed |