---
title: "The resolved schedule across a window, gaps included"
method: GET
path: "/api/{org_id}/oncall/teams/{team_id}/resolved-schedule"
tags: ["OnCall"]
---

# The resolved schedule across a window, gaps included

`GET /api/{org_id}/oncall/teams/{team_id}/resolved-schedule`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/oncall/teams/{team_id}/resolved-schedule`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/oncall/teams/:team_id/resolved-schedule/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required
- `team_id` string, required

## Query parameters

- `from` integer, required
- `to` integer, required
- `rotation_id` string

## Response `200`

Success

- CoverageSegment[]
  - `from` integer, required: Inclusive.
  - `override_id` string, nullable: Set when an override produced the holder.
  - `rotation` string, nullable: The layer that produced the holder, or whose rostered turn a gap leaves unfilled.
  - `rotation_id` string, required: Which rotation this stretch resolves. A grid is drawn one rotation at a time — two rows, not one row with two answers in it.
  - `scheduled_email` string, nullable: The rule's rostered member here, before absences and covers, when not `user_email`.
  - `to` integer, required: Exclusive.
  - `user_email` string, nullable: `None` is a coverage gap — nobody is on call for this stretch. A segment rather than a hole in the list, because a gap the caller has to infer from missing rows is a gap nobody notices.

## Other responses

- `400`: Window inverted or too long

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
