Get warehouse Data Export usage
Get a time series array showing the number of rows exported to your warehouse Data Export destinations. The supported granularity varies by aggregation type. The maximum time range is 365 days.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Query Parameters
The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month.
stringThe series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time.
stringA project key to filter results by. Can be specified multiple times, one query parameter per project key.
stringAn environment key to filter results by. If specified, exactly one projectKey must be provided. Can be specified multiple times, one query parameter per environment key.
stringA Warehouse configuration kind to filter results by. Cannot be combined with destination. Can be specified multiple times.Valid values: snowflake-v2, databricks, bigquery, redshift, clickhouse, s3.
stringA Warehouse configuration kind to filter results by. Cannot be combined with destinationKind. Existing behavior is unchanged. Can be specified multiple times.Valid values: snowflake-v2, databricks, bigquery, redshift, clickhouse.
stringIf specified, returns data for each distinct value of the given field. Can be specified multiple times.Valid values: projectId, environmentId, destination, destinationKind. The two destination dimensions return the same raw Warehouse configuration kinds.
stringSpecifies the aggregation method. Defaults to month_to_date.Valid values: month_to_date, incremental.
stringSpecifies the data granularity. Defaults to daily. monthly granularity is only supported with the month_to_date aggregation type.Valid values: daily, hourly, monthly.
stringResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/usage/warehouse-export"{ "_links": { "property1": null, "property2": null }, "metadata": [ { "property1": null, "property2": null } ], "series": [ { "0": 11, "1": 15, "time": 1677888000000 } ]}Get Vega AI usage GET
Get time-series arrays of the number of Vega AI usage. Supports `daily` and `monthly` granularity.
Rank Streaming usage by project GET
Rank projects with usage in the requested range by successful Streaming transfers. Legacy rows are attributed through the account's complete current environment-to-project mapping. If any successful row remains unattributed after resolution, the operation returns `409` instead of a partial ranking. The result limit does not cap the account-wide project universe or environment mapping. This source-specific operation does not provide Combined or Warehouse ranking.