Get hourly usage for network hosts

GET {{baseUrl}}/api/v1/usage/network_hosts?start_hr=2007-08-06T13:18:56.043Z&end_hr=2007-08-06T13:18:56.043Z

Get hourly usage for network hosts. Note: hourly usage data for all products is now available in the Get hourly usage by product family API. Refer to Migrating from the V1 Hourly Usage APIs to V2 for the associated migration guide.

Request Params

KeyDatatypeRequiredDescription
start_hrstring(Required) Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
end_hrstringDatetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending before this hour.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"usage":[{"host_count":-59191465,"hour":"1957-01-15T07:49:44.205Z","org_name":"ex est labore","public_id":"Lorem voluptate sint exercitation"},{"host_count":-8804963,"hour":"2000-09-03T13:12:13.926Z","org_name":"esse anim","public_id":"ex pariatur adipisic"}]}