All Quiet On Call
A block for reading All Quiet's on-call rotation: who is responsible right now, or who was (or will be) at any other point in time.
All Quiet Get On Call
What it is
Looks up who is on call in All Quiet, now or at a given time
How it works
Reads All Quiet's computed rotation rather than a static schedule, so overrides, escalation tiers and rotation handoffs are all reflected. Leaving timestamp empty asks who is on call right now; supplying an ISO-8601 timestamp asks who was or will be on call then. A user covering several teams appears once per team in shifts, so the block also emits a de-duplicated users/user_ids/emails set to avoid notifying the same person repeatedly. has_coverage is false when nobody is on call, which is worth branching on before assuming an alert will reach someone.
Inputs
team_ids
Limit to these teams. Leave empty for every team.
List[str]
No
user_ids
Limit to these users. Leave empty for every user.
List[str]
No
timestamp
ISO-8601 timestamp to evaluate the rotation at. Leave empty for right now.
str
No
region
The All Quiet deployment your API key belongs to. Use EU if you signed up on allquiet.eu.
"us" | "eu"
No
Outputs
error
Error message if the request failed
str
shifts
Every matching on-call assignment
List[OnCallShift]
shift
Each on-call assignment, emitted one at a time
OnCallShift
users
The on-call users, deduplicated across teams
List[AllQuietUser]
user_ids
IDs of the on-call users
List[str]
emails
Email addresses of the on-call users
List[str]
users_without_email
On-call users carrying no email address. These are counted in users/has_coverage but absent from emails, so a graph that notifies by email alone would silently skip them
List[AllQuietUser]
has_coverage
False when nobody is on call for the requested teams/time, so a graph can branch to a fallback instead of silently paging no one
bool
Possible use case
Before an agent takes a disruptive automated action such as a production deploy, it checks who is on call and includes their name in the change notice. Wired to has_coverage, the same graph can refuse to deploy at all when the rotation has a gap.
Last updated
Was this helpful?