All Quiet On Call | Integrations | AutoGPT
AllQuiet 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
Input
| Input | Description | Type | Required |
|---|---|---|---|
| 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" |
Outputs
Output
| Output | Description | Type |
|---|---|---|
| error | Error message if the request failed | str |
| shifts | Every matching on-call assignment | List[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. | List[AllQuietUser] |
| has_coverage | False when nobody is on call for the requested teams/time. | 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.