List Rotation Schedules
GET
/api/v1/admin/proxy/schedulesnote
This endpoint requires Admin API Key authentication via the X-Admin-Key header.
Returns all scheduled rotations, optionally filtered by location or modem.
Query Parameters
location_idstringFilter schedules by location UUID
modem_idstringFilter schedules by modem UUID
is_enabledbooleanFilter by enabled/disabled status
Response
Returns an array of schedule objects:
schedule_idstringUUID of the schedule
location_idstringLocation UUID (if location-wide schedule)
modem_idstringModem UUID (if modem-specific schedule)
interval_minutesintegerRotation interval in minutes
rotation_methodstringMethod: reconnect, airplane, or reboot
is_enabledbooleanWhether schedule is active
next_run_atstringISO timestamp of next scheduled rotation
last_run_atstringISO timestamp of last rotation
Request Example
curl -X GET "https://spideriq.ai/api/v1/admin/proxy/schedules" \
-H "X-Admin-Key: your_admin_key"
import requests
response = requests.get(
"https://spideriq.ai/api/v1/admin/proxy/schedules",
headers={"X-Admin-Key": "your_admin_key"}
)
print(response.json())
Response Example
[
{
"schedule_id": "a1b2c3d4-...",
"location_id": "8746d96a-...",
"modem_id": null,
"interval_minutes": 60,
"rotation_method": "reconnect",
"is_enabled": true,
"next_run_at": "2026-01-05T14:00:00Z",
"last_run_at": "2026-01-05T13:00:00Z"
}
]