Get Warehouse Costs

Fetch the credits a Snowflake warehouse consumed and their cost, bucketed by week or month

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧 Private preview
This API is under private review. Its signatures may change without notice. Please talk to the Revefi support team at [email protected] before using it.
Path Params
string
required

Name of the Snowflake warehouse. Matched case-insensitively — Snowflake stores warehouse names upper-cased

Query Params
string
enum
required

The period to bucket credits into. See here for more details

Allowed:
date

First day of the window, YYYY-MM-DD in UTC. Defaults to the earliest date the 12-period cap allows, and is floored to the start of the period that contains it

date

Last day of the window, inclusive, YYYY-MM-DD in UTC. Defaults to today

Responses

400

Missing or unrecognised cadence, a date that is not YYYY-MM-DD, a start_date after end_date, a window spanning more than 12 cadence periods, or the account has no Snowflake data source or has more than one

401

Invalid API access token

403

Insufficient permissions for the API call

404

No warehouse with this name exists on the data source

429

Number of requests sent exceed the rate limit

502

The credits could not be read. The response message carries the underlying reason

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json