@Ed Quillen Welcome to Microsoft Q&A community forum!
Information on calling UsageDetails with a date range can be found here: Manage Azure costs with automation | Microsoft Learn
----------------------------------------------------------------------------------------------------------------------
If the response helped, do "Accept Answer" and up-vote it