Usage v2
List Usage by Host
Lists aggregated usage information for all hosts during a time period.
get/v2/usage/hosts
Request
- Base URLhttps://api.mezmo.com/v3
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
fromstring required
Start time. A date-time string as defined by the ISO 8601 date format. This date-time will be used to calculate the starting day; the exact time will not be used.
tostring required
End time. A date-time string as defined by the ISO 8601 date format. This date-time will be used to calculate the ending day; the exact time will not be used.
limitinteger
Maximum amount of hosts to retrieve.
retentionstring
Limit report to hosts that contribute to a variable retention pool. Value must be a string indicating the retention pool duration, e.g. 7d for a seven day retention pool.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.