Request Parameters
Time period for usage data:
current_month
- Current billing monthlast_month
- Previous billing monthcurrent_quarter
- Current quarterlast_quarter
- Previous quartercurrent_year
- Current yearcustom
- Custom date range (requires startDate and endDate)
Start date for custom time range (ISO 8601 format: YYYY-MM-DD)
End date for custom time range (ISO 8601 format: YYYY-MM-DD)
Filter by resource types:
clusters
- GPU cluster usageendpoints
- Serverless endpoint usagetraining
- Model training jobsai-services
- AI generation servicesstorage
- Data storage usagebandwidth
- Data transfer usage
Data granularity:
hourly
- Hour-by-hour breakdowndaily
- Daily usage totalsweekly
- Weekly usage summariesmonthly
- Monthly usage summaries
Group usage data by:
resource
- Group by individual resourcesregion
- Group by geographical regionproject
- Group by project/teamservice
- Group by service typeuser
- Group by user (for team accounts)
Include usage projections and forecasts for the current billing period
Include cost calculations for usage metrics
Currency for cost calculations:
USD
, EUR
, GBP
, JPY
, CAD
, AUD
Response
Time period information
Usage summary totals
Detailed usage breakdown by resource type
Usage breakdown by region
Usage projections (if requested)
Usage-related alerts and thresholds
Example
Advanced Usage Analytics
Cost Optimization Analysis
Python
Usage Forecasting
Python
Team Usage Monitoring
Python
Usage Alerts and Budgets
Budget Management
Python
Best Practices
Usage Monitoring
- Regular Reviews: Check usage patterns weekly to identify trends
- Budget Alerts: Set up proactive alerts before reaching limits
- Resource Tagging: Use consistent tagging for better cost allocation
- Granular Tracking: Monitor usage at resource and team levels
Cost Optimization
- Right-sizing: Regularly review and adjust resource allocations
- Scheduling: Use scheduling for non-critical workloads
- Reserved Capacity: Consider reserved instances for predictable workloads
- Waste Elimination: Identify and eliminate unused resources
Team Management
- Cost Allocation: Implement clear cost allocation policies
- Usage Guidelines: Provide teams with usage best practices
- Regular Reporting: Share usage reports with stakeholders
- Accountability: Assign cost responsibility to appropriate teams
Usage data is updated every hour and billing calculations are finalized daily. Real-time usage tracking may show slight delays compared to actual resource consumption.
Use usage projections and forecasts to plan capacity and budget for upcoming periods. Set up automated alerts to catch unusual usage patterns early.