v1

latestOpenAPI 3.1.02026-07-263336147.9 KB
Usage
Machine Lifecycle

List machine compute usage breakdown

get/v1/usage/machines/compute

Query parameters

period_startstring

Usage period start (YYYY-MM-DD). Defaults to first of current month.

Usage period start (YYYY-MM-DD). Defaults to first of current month.

period_endstring

Last UTC usage date to include (YYYY-MM-DD). Defaults to current time.

Last UTC usage date to include (YYYY-MM-DD). Defaults to current time.

machine_idstring

Optional machine ID filter.

Optional machine ID filter.

granularitystring

Usage breakdown granularity: hour or day. Defaults to hour.

Usage breakdown granularity: hour or day. Defaults to hour.

Response

OK

granularitystring required

Usage breakdown granularity used for rows: hour or day.

period_endstring date-time required

Exclusive usage period end.

period_startstring date-time required

Inclusive usage period start.