get_warehouse_credit_usage
Retrieve total Snowflake credits consumed per warehouse over a lookback period, split into compute and cloud services. Identify where spend is concentrated before drilling into details.
Instructions
Total Snowflake credits consumed per warehouse over the lookback window, split into compute vs. cloud services credits. Use this to see where spend is concentrated before drilling into individual warehouses or queries.
Args: lookback_days: How many days back to look (default from server config, typically 7).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lookback_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |