Get on-call schedule
spike_get_on_callGet one on-call schedule by id — {oncall:{_id, name, timezone, teams, users, activeShift, renderedShifts}}. from optionally sets the window start for rendered shifts. Spike: GET /on-calls/{oncallId} (team-scoped).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | ISO timestamp to render upcoming shifts from (e.g. "2026-07-19T00:00:00Z"). | |
| teamId | No | The 24-char hex team _id to scope this request to (x-team-id). Omit to use the configured default (SPIKE_TEAM_ID). List ids with spike_list_teams. | |
| oncallId | Yes | The on-call schedule's id (from spike_list_on_calls). |