Skip to main content
Use the On-call API when an operator, script, or agent needs typed access to responder coverage. The API is project-scoped and derives the owning team from {project_id}, so team-wide schedules and project-scoped schedules can both cover a service.

Operations

Create schedule

project_scoped defaults to false, which creates a team-wide schedule. Set it to true when a service needs its own rotation.

Shift windows

onCall.listShifts accepts:
  • from - ISO timestamp. Defaults to seven days before now.
  • to - ISO timestamp. Defaults to 56 days after now.
Use onCall.listShiftsCsv when a human wants a calendar subscription. MCP Code Mode should prefer onCall.listShifts so agents receive structured JSON.

Overrides

Overrides win during their time window. Ask for explicit confirmation before creating one.

Auth

Every operation is authenticated and project-scoped. Use on_call:read for list/current/member/shift operations and on_call:write for create, enable/disable, and override operations. The * wildcard and global write shortcut also include these scopes.

CLI and MCP

The CLI exposes the same operation family through squasher on-call .... MCP remains Code Mode only: search for onCall, inspect operation schemas, and call exposed operations through execute. Related: On-call, Notifications API, Incidents API.