Manage Console
XAI Manage is a graphical console for end users or authorized administrators, providing account status, credits, usage, billing, logs, and news viewing, along with common self-service capabilities (such as key rotation and sub-account management).
β
Feature Overview
The XAI Manage console includes the following core functional modules:
- Usage Statistics (Dashboard) - View today's real-time usage, specific dates, and time range usage analysis
- Account Query - Batch query sub-account information
- AI API Documentation - View supported AI service providers and SDK examples
- Create Sub-Account - Create new sub-accounts under your account
- Account Top-up - Top up or deduct credits for sub-accounts
- View Sub-Accounts - View all sub-account lists
- Update Sub-Account - Modify sub-account configuration and limits
- Delete Sub-Account - Delete sub-accounts and refund balance
- Operation Logs - View account operation records
- System Configuration - Jump to Admin console (owner only)
β
Access Control
- All Users Can Access: Any user with a valid API Key can log in to Manage console
- Local Key Storage: API Key is only stored in browser localStorage, never uploaded to server
- Session Cache: User info cached in sessionStorage (24 hours), requires re-fetch after closing tab
- News Cache: News data cached locally for 1 hour, supports "don't show again today" feature
Feature Details
Common Task Guide
- View today/history usage β "Usage Statistics" β see Manage API: Usage Billing
- Batch query sub-accounts β "Account Query" β see Manage API: Query Sub-Accounts
- Create sub-account β "Create Sub-Account" β see Manage API: Create Sub-Account
- Top-up/refund β "Account Top-up" β see Manage API: Update Sub-Account
- Constrain access scope β "Update Sub-Account" β see Manage API: Update Sub-Account
- Set Model Limits β "Update Sub-Account" β see Manage API: Update Sub-Account
- View operation logs β "Operation Logs" β see Manage API: Operation Logs
FeatureβEndpointβPermission Matrix
Complete API endpoints and usage can be found in Manage API Reference
| Feature | API Documentation | Permission |
|---|---|---|
| Usage dashboard | Manage API: Dashboard Query | Any valid user |
| Sub-account list/query | Manage API: Query Sub-Accounts | Parent/ancestor only |
| Create sub-account | Manage API: Create Sub-Account | Parent/owner only (with sufficient balance/limits) |
| Update sub-account | Manage API: Update Sub-Account | Parent/owner only |
| Delete sub-account | Manage API: Delete Sub-Account | Parent/owner only |
| Operation logs | Manage API: Operation Logs | Any valid user (typically view own scope only) |
| News | Manage API: News Notifications | Any valid user |
Terminology: Level, Model Mapper, Level Mapper, Resources (allowlist), Model Limits β see "Terminology".
1. Usage Statistics Tab
Real-time viewing and analysis of account usage data with multiple time dimensions and metric switching.
Features:
- Today's Real-time Usage - Display today's requests, tokens, and cost
- Specific Date Query - Select a specific date to view that day's usage
- Time Range Query - Select start and end dates to view interval usage
- Metric Switching - Switch between cost, requests, and tokens
- Chart Display - Usage trend charts (if multiple days of data)
- Model Usage Details - View detailed usage distribution by model
Operation Steps:
- Default displays today's real-time usage
- Select "Specific Date" and choose a date to view single-day usage
- Select "Time Range" and set start/end dates to view interval usage
- Use metric switch buttons to switch between different dimensions
Related API: See Manage API: Usage Billing
2. Account Query Tab
Batch query detailed information for sub-accounts.
Features:
- Batch Query - Input multiple account identifiers, separated by commas or newlines
- Support Multiple Identifiers - ID, Name, Email, DNA path, etc.
- Detailed Info Display - Show account balance, limits, usage, and complete information
- Result Export - Copy query results
Identifier Types:
- User ID:
42 - Username:
prod-account - Email:
[email protected] - DNA path:
.1.42. - Level filter:
L2(all level 2 users)
Related API: See Manage API: Query Sub-Accounts
3. AI API Documentation Tab
Same as Admin console, displays supported AI service providers and SDK example code.
Features:
- Model list link
- Supported AI service providers display
- OpenAI and Anthropic SDK example code
- One-click copy functionality
4. Create Sub-Account Tab
Create new sub-accounts under your account.
Features:
- Complete Creation Form - Include all required and optional fields
- Real-time Validation - Real-time validation of field formats and values
- Flexible Configuration - Support setting limits, rate limits, allowlists, etc.
Form Fields:
Basic Info (Required):
Name- Account name (4-63 characters, at least 1 letter)Email- Email addressCreditGranted- Initial top-up amount (minimum $2)
Optional Config:
Alias- Display nameBillingEmail- Billing emailRates- Rate multiplier (must be β₯ parent rate)Days- Balance validity period in days
Limit Settings:
HardLimit- Monthly hard limitSoftLimit- Monthly soft limit (email alert when reached)AutoQuota- Auto quota
Rate Limits:
RPM/RPH/RPD- Requests per minute/hour/day limitsTPM/TPH/TPD- Tokens per minute/hour/day limits
Access Control:
AllowIPs- IP allowlist (comma-separated)AllowModels- Model allowlist (supports wildcards likegpt-4*)Resources- API endpoint allowlist
Model Limits:
- Set independent rate limits for specific models (JSON format)
Related API: See Manage API: Create Sub-Account
5. Account Top-up Tab
Top up or deduct credits for sub-accounts.
Features:
- Account Selection - Input user ID, Name, or Email
- Top-up/Deduction - Positive for top-up, negative for deduction
- Custom Validity - Set balance validity period in days
- Batch Operations - Support simultaneous operations for multiple accounts
Operation Instructions:
- Input target account identifier
- Input amount:
- Positive (e.g.,
100) means top up $100 - Negative (e.g.,
-50) means deduct $50
- Positive (e.g.,
- Optional: Set validity period days (default 180 days)
- Submit operation
Related API: See Manage API: Update Sub-Account
6. View Sub-Accounts Tab
View list and detailed information of all direct sub-accounts.
Features:
- Account List - Display all sub-accounts
- Key Information - ID, Name, Email, Balance, Status
- Filter and Search - Filter accounts by conditions
- Quick Actions - Click account to view details or perform actions
Related API: See Manage API: Query Sub-Accounts
7. Update Sub-Account Tab
Modify existing sub-account configuration and limits.
Features:
- Complete Update Form - Similar to creation form but supports partial updates
- Status Management - Enable/disable accounts
- Config Modification - Modify limits, rates, allowlists, etc.
- Model Limits - Update model-level rate limits
Updatable Fields:
All optional fields from creation can be updated, plus:
Status- Enable/disable account (true/false)CreditGranted- Top-up/deductionDays- Balance validity- Incremental modification of limits, rates, allowlists
Special Operations:
- Reset allowlist:
AllowModels: "*" - Remove from allowlist:
AllowModels: "-gpt-3.5-turbo"
Related API: See Manage API: Update Sub-Account
8. Delete Sub-Account Tab
Delete sub-accounts and refund remaining balance to parent account.
Features:
- Account Selection - Input account identifier to delete
- Balance Refund - Automatically refund remaining balance to parent account
- Transaction Fee - Deduct $0.2 handling fee
- Confirmation Mechanism - Prevent accidental deletion
Important Notes:
- Remaining balance automatically refunded to parent account
- Deduct $0.2 transaction handling fee
- Refunded balance default validity 180 days
- Cannot be recovered after deletion
Related API: See Manage API: Delete Sub-Account
9. Operation Logs Tab
View current account's operation logs.
Features:
- Log List - Display time, operation, target, details, IP
- Paginated Browsing - Support paginated viewing of historical logs
- Filter Functionality - Filter by operation type, status, etc.
Related API: See Manage API: Operation Logs
10. System Configuration Entry
Owners can see "Configuration Management" link, clicking jumps to Admin console.
β
News Banner Feature
Manage console top displays system news and user notifications.
Features:
- Priority Display - System news > User news > DNA news
- Don't Show Today - Close and won't show again today
- Auto Carousel - Multiple news items auto-rotate
- Local Cache - News cached for 1 hour, reducing requests
Related API: See Manage API: News Notifications
β
Use Cases
Use Case 1: View Today's Usage
- After login, default displays "Usage Statistics" tab
- Page automatically shows today's real-time usage:
- Today's requests
- Today's tokens
- Today's cost
- View detailed model usage distribution
Use Case 2: Create Development Environment Sub-Account
- Go to "Create Sub-Account" tab
- Fill in basic info:
- Name:
dev-env-001 - Email:
[email protected] - CreditGranted:
10(top up $10)
- Name:
- Set limits:
- HardLimit:
50(max $50 monthly spend) - SoftLimit:
40(email alert at $40) - RPM:
30(max 30 requests per minute)
- HardLimit:
- Set allowlist:
- AllowModels:
gpt-4o-mini claude-3-haiku*(only allow these models)
- AllowModels:
- Submit creation
- System returns new account's API Key
Use Case 3: Top Up Sub-Account
- Go to "Account Top-up" tab
- Input sub-account name:
dev-env-001 - Input top-up amount:
50 - Set validity:
30days - Submit operation
- System confirms successful top-up
Use Case 4: Update Sub-Account Limits
- Go to "Update Sub-Account" tab
- Input account identifier:
dev-env-001 - Modify config:
- RPM:
60(increase rate limit) - AllowModels:
gpt-4* claude-*(expand model allowlist)
- RPM:
- Submit update
- System confirms successful update
Use Case 5: Analyze Usage Trends
- Go to "Usage Statistics" tab
- Select "Time Range"
- Set date range:
2025-01-01to2025-01-31 - Switch metrics to view:
- Cost trends
- Request trends
- Token usage trends
- View usage distribution by model
β
Best Practices
Account Management
- Tiered Management - Create independent accounts for different environments (dev/test/prod)
- Reasonable Limits - Set SoftLimit and HardLimit to avoid unexpected overspending
- Model Allowlist - Restrict sub-accounts to specific models only
- Regular Audit - Regularly review sub-account lists and usage
Top-up Management
- Top Up As Needed - Don't top up too much at once
- Set Validity - Set shorter validity for test accounts
- Retain Balance - Deduct before deleting accounts to reclaim balance
Usage Monitoring
- Daily Check - Check today's usage to avoid anomalies
- Trend Analysis - Regularly analyze usage trends to optimize costs
- Model Optimization - Choose appropriate models based on usage data
β
FAQ
Q: Why can't I see "System Configuration" entry?
A: Only owners can see "Configuration Management" entry. Sub-accounts can only manage their own sub-accounts.
Q: What's the minimum top-up amount when creating sub-accounts?
A: Minimum top-up amount is $2 (CreditGranted β₯ 2).
Q: How to restrict sub-accounts to specific models only?
A: When creating or updating sub-accounts, set the AllowModels field. Supports wildcards like gpt-4* claude-3-haiku*.
Q: Can sub-account rates be lower than parent account?
A: No. Sub-account Rates must be greater than or equal to parent account rates.
Q: How is balance handled after deleting sub-accounts?
A: Remaining balance automatically refunded to parent account, minus $0.2 handling fee, with 180-day validity.
Q: Why am I being charged when querying usage?
A: Query spans >30 days charge $0.01, >365 days charge $0.05 and truncate to one year.
Q: How to batch query multiple sub-accounts?
A: In "Account Query" tab input multiple identifiers, separated by commas or newlines, like:
dev-env-001
prod-account
[email protected]
42
β
Related Documentation
- Manage API Reference - Complete Manage Console API documentation
- Admin API Reference - System configuration and Provider management API
- Admin Console - Configuration management console
- Quick Start - Basic getting started guide