v2.1.219
·
1 commit
to master
since this release
New Features
AI Hosting API Enhancements
Introduced comprehensive support for monitoring and managing AI hosting plans. You can now track billing periods and retrieve detailed usage statistics directly through the client.
- Billing Periods Tracking: New
planGetBillingPeriodsmethod retrieves the contract months for a given plan, including details on token limits, current period status, and impacts from tariff upgrades or downgrades. - Usage Statistics: New
planGetUsageStatsmethod fetches aggregated token usage data for a specific timeframe. Responses include daily token breakdowns, usage per API key, and model-level token distribution. - Expanded Schema Support: Added dedicated request/response classes and data models (
PlanBillingPeriods,PlanUsageStats, and related nested objects) to handle typed, validated responses for these new endpoints.
Bug Fixes & Improvements
Database API Documentation Clarification
- Updated the
accessIpMaskfield description acrossCreateMySqlUser,CreateMySqlUserWithDatabase,MySqlUser,UpdateMysqlUserRequest, andUpdateMysqlUserRequestBodyto explicitly state that the field currently has no effect, preventing confusion during implementation.