Get Usage

GET {{dolby-io-url}}/media/usage

Returns a summary of Media API usage for the last day, or a custom time range if specified.

Request Params

KeyDatatypeRequiredDescription
fromnullQuery usage at or after the specified date (inclusive).
tonullQuery usage at or before the specified date and time (inclusive). This must be greater than or equal to from.
next_tokennullUsed when querying the next page of usage. Specify the next_token that was returned in the previous call.

RESPONSES

status: OK

{"count":10,"jobs":[{"job_id":"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX","api_version":"v1.5","path":"/media/transcode","status":"Success","progress":100,"duration":12.596,"time_submitted":"2022-07-06T22:46:25.537Z","time_started":"2022-07-06T22:46:25.000Z","time_completed":"2022-07-06T22:46:37.913Z","expiry":"2022-08-06T22:46:25.000Z"}]}