Get last 2 On call agents

At present running the call
GET 'https://ealservicedesk.freshservice.com/api/v2/oncall/ws/<WS_ID>/schedules/<schdl_ID>/shifts/<shift_ID>
pulls out 2 shift times, the agent for last week and agent for this week. Our department changes oncall agents weekly at 8am and as we are paid fortnightly, I would like to run a fortnightly automation to gather the agents in the following set
Week 1 of pay period:
agent name | date of start
Week 2 of period
agent name | date of start
Running the Monday of pay week

I tried using ?event_start_date_time= but this would only work for that date and not update dynamically. Any ideas?

At this point I’m not able to complete this the way I wanted to. But I’m deciding to run this as a full fortnight, first week grab the 2 agents, then wait a week and complete the rest for hours worked while on call