v1

latestOpenAPI 3.0.02026-07-142351,1971.3 MB
Usage Metering

Get all custom metrics by hourly average

Get all custom metrics by hourly average. Use the month parameter to get a month-to-date data resolution or use the day parameter to get a daily resolution. One of the two is required, and only one of the two is allowed.

get/api/v1/usage/top_avg_metrics

Query parameters

monthstring date-time

Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM] for usage beginning at this hour. (Either month or day should be specified, but not both)

daystring date-time

Datetime in ISO-8601 format, UTC, precise to day: [YYYY-MM-DD] for usage beginning at this hour. (Either month or day should be specified, but not both)

namesstring[]

Comma-separated list of metric names.

limitinteger

Maximum number of results to return (between 1 and 5000) - defaults to 500 results if limit not specified.

next_record_idstring

List following results with a next_record_id provided in the previous query.

Response

OK