---
updatedAt: 2026-06-02T20:48:49.000Z
agentTools:
  projectIndex: https://docs.zype.com/llms.txt
---

# List Channels

The live input sources in this list don't include their `audioSelectors`; view the channel to read them.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Playout Scheduler",
    "description": "",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.zype.com/"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "paths": {
    "/scheduler/v1/channels": {
      "get": {
        "summary": "List Channels",
        "description": "The live input sources in this list don't include their `audioSelectors`; view the channel to read them.",
        "operationId": "getPlayoutSchedulerChannels",
        "tags": [
          "Channels"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "Page number to return, with per_page dictating page size"
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "Number of records to return per page"
          }
        ],
        "responses": {
          "200": {
            "description": "Channels response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "ChannelsResponse",
                  "type": "object",
                  "properties": {
                    "siteId": {
                      "type": "string"
                    },
                    "channels": {
                      "type": "array",
                      "items": {
                        "$ref": "#/paths/~1scheduler~1v1~1channels/post/responses/201/content/application~1json/schema"
                      }
                    },
                    "pagination": {
                      "$ref": "#/paths/~1scheduler~1v1~1types/get/responses/200/content/application~1json/schema/properties/pagination"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1scheduler~1v1~1types/get/responses/422/content/application~1json/schema"
                }
              }
            }
          }
        }
      },
      "post": {
        "summary": "Create Channel",
        "description": "",
        "tags": [
          "Channels"
        ],
        "operationId": "createPlayoutSchedulerChannel",
        "x-codegen-request-body-name": "channel",
        "requestBody": {
          "description": "",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "title": "ChannelRequest",
                "type": "object",
                "required": [
                  "channel"
                ],
                "properties": {
                  "channel": {
                    "type": "object",
                    "title": "ChannelProperties",
                    "required": [
                      "title",
                      "startAt"
                    ],
                    "properties": {
                      "title": {
                        "type": "string"
                      },
                      "fallbackSlateId": {
                        "type": "string"
                      },
                      "timezone": {
                        "type": "string",
                        "description": "IANA timezone of the channel (for example `Europe/Paris`). Used to interpret dayparts and on notifications about scheduled maintenances. Defaults to `UTC`; an empty value resets it to `UTC`."
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "elemental",
                          "no_infra",
                          "live_event"
                        ],
                        "default": "elemental",
                        "description": "Channel type. `live_event` is the Zype Live channel type, which requires exactly one entry in liveInputSources. Defaults to `elemental` when not provided."
                      },
                      "liveInputSources": {
                        "type": "array",
                        "description": "Live input sources for the channel. Required, with exactly one entry, when type is live_event. Optional for other channel types.",
                        "items": {
                          "$ref": "#/paths/~1scheduler~1v1~1channels/post/responses/201/content/application~1json/schema/properties/liveInputSources/items"
                        }
                      },
                      "startAt": {
                        "type": "string",
                        "description": "Setting the Start At date & time will make the channel live at the selected date & time. You can select a date/time at least 30 minutes into the future."
                      },
                      "stopAt": {
                        "type": "string",
                        "description": "Setting the Stop At date & time will stop stop the channel at the selected date & time. You can select a date/time at least 30 minutes into the future."
                      },
                      "channelSetting": {
                        "type": "object",
                        "title": "ChannelSetting",
                        "properties": {
                          "staticOverlayEnabled": {
                            "type": "boolean",
                            "default": false,
                            "description": "Enables static overlay feature"
                          },
                          "hideOverlayDuringAds": {
                            "type": "boolean",
                            "default": false,
                            "description": "Hides the static overlay during Ad slates"
                          },
                          "priorityTrackGraphicsEnabled": {
                            "type": "boolean",
                            "default": true,
                            "description": "If true, graphics will apply for videos on the priority track"
                          },
                          "customDynamicReplacementsEnabled": {
                            "type": "boolean",
                            "default": true,
                            "description": "Enables custom dynamic replacements feature"
                          },
                          "customDynamicReplacements": {
                            "type": "array",
                            "description": "Custom attributes to fetch from video's metadata",
                            "items": {
                              "type": "string"
                            }
                          },
                          "scteMidrollIdMatchEnabled": {
                            "type": "boolean",
                            "default": true,
                            "description": "When enabled, the Id inserted into the SCTE ad markers during a mid-roll will be the same Id of the video asset"
                          },
                          "scteMessageFormat": {
                            "type": "string",
                            "description": "Applying to live inputs, the selected format will be the expected SCTE tags format sent from the input source to Playout live inputs",
                            "enum": [
                              "SPLICE_INSERT",
                              "TIME_SIGNAL"
                            ]
                          },
                          "availabilityCountries": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "This setting is required by some destinations for determining where content should be available. This is a metadata-only field and does not restrict the playback of content by region."
                          },
                          "nielsenPcmToId3Tagging": {
                            "type": "boolean",
                            "description": "When enabled, the PCM audio will be converted to ID3 tags for Nielsen reporting"
                          },
                          "nielsenDistributorId": {
                            "type": "string",
                            "description": "The Nielsen distributor ID. Will be used to report Nielsen metrics to the Nielsen distributor only when nielsenPcmToId3Tagging is true."
                          }
                        }
                      },
                      "channelCaptionSetting": {
                        "type": "object",
                        "title": "ChannelCaptionSetting",
                        "properties": {
                          "sourceType": {
                            "type": "string",
                            "enum": [
                              "Teletext",
                              "Embedded"
                            ]
                          },
                          "languageCode": {
                            "type": "string"
                          },
                          "pageNumber": {
                            "type": "string"
                          },
                          "outputDescription": {
                            "type": "object",
                            "title": "ChannelCaptionSetting",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "languageCode": {
                                "type": "string"
                              },
                              "languageDescription": {
                                "type": "string"
                              },
                              "captionSettings": {
                                "type": "string",
                                "enum": [
                                  "Embedded",
                                  "WebVtt"
                                ]
                              }
                            }
                          }
                        }
                      },
                      "automatedGraphicInsertions": {
                        "type": "array",
                        "items": {
                          "required": [
                            "assetTypes",
                            "duration",
                            "graphicAssetId",
                            "type"
                          ],
                          "properties": {
                            "assetTypes": {
                              "type": "array",
                              "enum": [
                                "video",
                                "block",
                                "playlist"
                              ],
                              "description": "Determines the asset type to which the graphic will play. At least one is required."
                            },
                            "duration": {
                              "type": "number",
                              "description": "Determines the duration that the graphic is visible."
                            },
                            "delay": {
                              "type": "number",
                              "default": 0,
                              "description": "For Intro, determines the delay from when the asset starts to when the graphic starts. For Exit, determines the padding at the end of the video where there will be no graphics"
                            },
                            "graphicAssetId": {
                              "type": "string",
                              "description": "The Id of the graphic to play on top of the selected asset."
                            }
                          }
                        }
                      },
                      "midRollAdsEnabled": {
                        "type": "boolean",
                        "description": "Automatically insert mid-roll ads"
                      },
                      "adPodSlate": {
                        "type": "string",
                        "description": "Default ad slate. Ads will be inserted at video-level ad timings when dragging a video into the timeline."
                      },
                      "highAvailabilityEnabled": {
                        "type": "boolean",
                        "default": false,
                        "description": "Enables high availability feature"
                      },
                      "staticOverlay": {
                        "$ref": "#/paths/~1scheduler~1v1~1channels/post/responses/201/content/application~1json/schema/properties/staticOverlay"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Channel",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date"
                    },
                    "startAt": {
                      "type": "string",
                      "format": "date"
                    },
                    "stopAt": {
                      "type": "string",
                      "format": "date"
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "live",
                        "error",
                        "off-air"
                      ]
                    },
                    "live": {
                      "type": "boolean"
                    },
                    "midRollAdsEnabled": {
                      "type": "boolean"
                    },
                    "adPodSlate": {
                      "type": "string",
                      "description": "The id of the ad slate"
                    },
                    "syncedAt": {
                      "type": "string",
                      "format": "date"
                    },
                    "publishedAt": {
                      "type": "string",
                      "format": "date"
                    },
                    "fallbackSlateId": {
                      "type": "string"
                    },
                    "region": {
                      "type": "string"
                    },
                    "timezone": {
                      "type": "string",
                      "description": "IANA timezone of the channel (for example `Europe/Paris`). Used to interpret dayparts and on notifications about scheduled maintenances. `UTC` when not set."
                    },
                    "highAvailabilityEnabled": {
                      "type": "boolean"
                    },
                    "liveInputSources": {
                      "type": "array",
                      "description": "Live input sources of the channel. The list endpoint (`GET /scheduler/v1/channels`) doesn't include their `audioSelectors`.",
                      "items": {
                        "title": "LiveInputSource",
                        "type": "object",
                        "properties": {
                          "id": {
                            "description": "Used if you are updating an existing Live Input Source.",
                            "type": "string"
                          },
                          "name": {
                            "description": "Name of the live input source.",
                            "type": "string"
                          },
                          "channelId": {
                            "description": "ID of the channel this live input source belongs to.",
                            "type": "string"
                          },
                          "protocol": {
                            "description": "Protocol used for ingesting the live stream. `rtmp`, `rtp`, `srt-listener` and `zixi-push` are PUSH protocols (your encoder pushes the stream to the server URL); `hls` is a PULL protocol (Zype pulls the stream from sourceUrl).",
                            "type": "string",
                            "enum": [
                              "rtmp",
                              "rtp",
                              "srt-listener",
                              "zixi-push",
                              "hls"
                            ]
                          },
                          "ipWhitelist": {
                            "description": "Whitelisted IPv4 addresses. Subnet supported (0.0.0.0/0).",
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "serverUrl": {
                            "description": "Primary URL for the push live input source.",
                            "type": "string"
                          },
                          "serverSecondaryUrl": {
                            "description": "Secondary URL for the push live input source. Only available when the channel is HA.",
                            "type": "string"
                          },
                          "sourceUrl": {
                            "description": "Primary URL for the pull live input source. Only valid for HLS protocol.",
                            "type": "string"
                          },
                          "sourceSecondaryUrl": {
                            "description": "Secondary URL for the pull live input source. Only valid for HLS protocol. Only available when the channel is HA.",
                            "type": "string"
                          },
                          "bufferSegments": {
                            "description": "Number of segments to buffer for HLS live input sources. Only valid for HLS protocol.",
                            "type": "integer",
                            "format": "int32",
                            "default": 4
                          },
                          "scte35Source": {
                            "description": "Source of SCTE-35 markers.",
                            "type": "string",
                            "enum": [
                              "SEGMENTS",
                              "MANIFEST"
                            ]
                          },
                          "hostname": {
                            "description": "Hostname for the live input source.",
                            "type": "string"
                          },
                          "secondaryHostname": {
                            "description": "Backup/failover hostname for the live input source, used to build the redundant ingest endpoint. Only available when the channel is HA. If not provided, it is auto-derived from hostname (`<hostname>-secondary`) the first time hostname is set, and is frozen after that (later hostname changes do not regenerate it). Not allowed for HLS protocol live input sources.",
                            "type": "string"
                          },
                          "audioSelectors": {
                            "description": "Audio selectors of the live input source, sorted by name. They tell the encoder which audio of the input to use. Not included in `GET /scheduler/v1/channels` (the list); use the channel endpoints to read them. In a request, an item with the `id` of an existing selector is a partial update, any other item is created, and selectors you don't send are kept. Changing a selector triggers an encoder infrastructure update. Captions selectors are profile-only and aren't available on live inputs.",
                            "type": "array",
                            "items": {
                              "$ref": "#/paths/~1scheduler~1v1~1profiles~1hls/post/requestBody/content/application~1json/schema/properties/profile/properties/audioSelectors/items"
                            },
                            "example": [
                              {
                                "id": "7c0e...",
                                "ownerId": "1bf431fa-...",
                                "ownerType": "liveInputSource",
                                "name": "english",
                                "selectorType": "hls-rendition",
                                "settings": {
                                  "groupId": "audio",
                                  "name": "English"
                                }
                              },
                              {
                                "id": "9a2d...",
                                "ownerId": "1bf431fa-...",
                                "ownerType": "liveInputSource",
                                "name": "spanish",
                                "selectorType": "language",
                                "settings": {
                                  "languageCode": "spa",
                                  "languagePolicy": "strict"
                                }
                              }
                            ]
                          },
                          "audioSelectorsToDelete": {
                            "description": "Request only, used on channel update. Ids of the audio selectors to delete. Unknown ids are ignored.",
                            "type": "array",
                            "writeOnly": true,
                            "items": {
                              "type": "string"
                            }
                          },
                          "domain": {
                            "description": "Domain used to build the aliased server URLs for this live input source.",
                            "type": "string",
                            "example": "encode.zype.live"
                          },
                          "serverUrlAlias": {
                            "description": "Full aliased URL for the push live input source, built from hostname and domain. Present when both hostname and serverUrl are set.",
                            "type": "string",
                            "example": "rtmp://api-docs.encode.zype.live/Playout"
                          },
                          "serverSecondaryUrlAlias": {
                            "description": "Full aliased URL for the secondary push live input source, built from secondaryHostname and domain. Present when hostname and serverSecondaryUrl are set, and only available when the channel is HA.",
                            "type": "string",
                            "example": "rtmp://api-docs-secondary.encode.zype.live/Playout"
                          }
                        },
                        "example": {
                          "id": "1bf431fa-e285-4e38-9886-5686b30b20fc",
                          "name": "My RTMP Live Input",
                          "channelId": "95efe944-205f-4790-9d99-b27cf3378fe3",
                          "protocol": "rtmp",
                          "ipWhitelist": [
                            "0.0.0.0/0"
                          ],
                          "serverUrl": "rtmp://10.12.123.111:1935/ZypePlayout/7a20-va84-40d2-89c1-9f62",
                          "serverSecondaryUrl": "rtmp://54.198.191.169:1935/ZypePlayout/fb11-3325-ea5f-1f74-6636",
                          "bufferSegments": 4,
                          "scte35Source": "SEGMENTS",
                          "hostname": "api-docs",
                          "secondaryHostname": "api-docs-secondary",
                          "domain": "encode.zype.live",
                          "serverUrlAlias": "rtmp://api-docs.encode.zype.live/Playout",
                          "serverSecondaryUrlAlias": "rtmp://api-docs-secondary.encode.zype.live/Playout"
                        }
                      }
                    },
                    "channelSetting": {
                      "type": "object",
                      "title": "ChannelSetting",
                      "properties": {
                        "staticOverlayEnabled": {
                          "type": "boolean",
                          "description": "Enables static overlay feature"
                        },
                        "hideOverlayDuringAds": {
                          "type": "boolean",
                          "description": "Hides the static overlay during Ad slates"
                        },
                        "priorityTrackGraphicsEnabled": {
                          "type": "boolean",
                          "description": "If true, graphics will apply for videos on the priority track"
                        },
                        "customDynamicReplacementsEnabled": {
                          "type": "boolean",
                          "description": "Enables custom dynamic replacements feature"
                        },
                        "customDynamicReplacements": {
                          "type": "array",
                          "description": "Custom attributes to fetch from video's metadata",
                          "items": {
                            "type": "string"
                          }
                        },
                        "scteMidrollIdMatchEnabled": {
                          "type": "boolean",
                          "description": "When enabled, the Id inserted into the SCTE ad markers during a mid-roll will be the same Id of the video asset"
                        },
                        "scteMessageFormat": {
                          "type": "string",
                          "description": "Applying to live inputs, the selected format will be the expected SCTE tags format sent from the input source to Playout live inputs",
                          "enum": [
                            "SPLICE_INSERT",
                            "TIME_SIGNAL"
                          ]
                        },
                        "availabilityCountries": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "This setting is required by some destinations for determining where content should be available. This is a metadata-only field and does not restrict the playback of content by region."
                        },
                        "nielsenPcmToId3Tagging": {
                          "type": "boolean",
                          "description": "When enabled, the PCM audio will be converted to ID3 tags for Nielsen reporting"
                        },
                        "nielsenDistributorId": {
                          "type": "string",
                          "description": "The Nielsen distributor ID. Will be used to report Nielsen metrics to the Nielsen distributor only when nielsenPcmToId3Tagging is true."
                        }
                      }
                    },
                    "automatedGraphicInsertions": {
                      "type": "array",
                      "items": {
                        "properties": {
                          "assetTypes": {
                            "type": "array",
                            "description": "Determines the asset type to which the graphic will play. At least one is required."
                          },
                          "duration": {
                            "type": "number",
                            "description": "Determines the duration that the graphic is visible."
                          },
                          "delay": {
                            "type": "number",
                            "description": "For Intro, determines the delay from when the asset starts to when the graphic starts. For Exit, determines the padding at the end of the video where there will be no graphics"
                          },
                          "graphicAssetId": {
                            "type": "string",
                            "description": "The Id of the graphic to play on top of the selected asset."
                          }
                        }
                      }
                    },
                    "staticOverlay": {
                      "type": "object",
                      "description": "Static overlay placement settings",
                      "properties": {
                        "uploadId": {
                          "description": "Upload id so use as the image overlay",
                          "type": "string"
                        },
                        "anchorPosition": {
                          "type": "string",
                          "enum": [
                            "bottom_left",
                            "bottom_right",
                            "top_left",
                            "top_right"
                          ],
                          "description": "Anchor position of the upload in the stream",
                          "default": "bottom_right"
                        },
                        "verticalMargin": {
                          "description": "Vertical margin of the upload in the stream. Between 0% and 100%, relative to the image size and screen resolution",
                          "type": "number",
                          "default": 5
                        },
                        "horizontalMargin": {
                          "description": "Horizontal margin of the upload in the stream. Between 0% and 100%, relative to the image size and screen resolution",
                          "type": "number",
                          "default": 5
                        }
                      }
                    },
                    "scheduledMaintenances": {
                      "type": "array",
                      "description": "Pending and running maintenance windows of the channel, sorted by start. View Channel only returns them with `withScheduledMaintenances=true`; Update Channel always returns them.",
                      "items": {
                        "$ref": "#/paths/~1scheduler~1v1~1channels~1{id}~1scheduled-maintenances~1{maintenanceId}/put/responses/200/content/application~1json/schema/properties/scheduledMaintenance"
                      }
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable entity. In particular, creating a live_event (Zype Live) channel without a\nliveInputSources entry returns a zype_live_channel_missing_live_input error.\n\nPossible messages:\n\nSegment duration (type `validation_error`, field `hlsProfileId`). It applies when `channelSetting.hlsProfileId`\nchanges on a channel that already has a MediaPackage channel; a null value means the default profile and it is\nchecked too. The segment duration is gopSize / fps of the first video rendition group (or gopSize when gopUnits\nis SECONDS).\n- `This profile cannot be applied because it would change the channel's HLS segment duration from <X> seconds to <Y> seconds, potentially interrupting playback. Select a profile that maintains the current segment duration to continue.`\n\nHLS profile compatibility. CMAF channels: video and audio can't share a rendition group, WebVTT is not\nsupported, and at least one video group is required.\n- `HLS profile <id> is not compatible with CMAF channels: rendition group \"<g>\" is invalid, <reason>`\n- `HLS profile <id> is not compatible with non-CMAF channels: TTML captions aren't supported...`\n\nAudio selectors. Nothing is saved when any selector is invalid.\n- `Audio selector name can't be blank`\n- `Audio selector name \"<n>\" can only contain letters, numbers, underscores (_) and hyphens (-)`\n- `Audio selector names must be unique within a live input source (repeated: \"<n>\")`\n- `Audio selector \"<n>\": selectorType must be one of pid, hls-rendition, track, language`\n- `Audio selector \"<n>\": settings.<k> is required`\n- `Audio selector \"<n>\": settings.pid must be an integer between 32 and 8190`\n- `Audio selector \"<n>\": settings.languageCode must be a three-letter ISO 639 code (e.g. eng)`\n- `Audio selector \"<n>\": the HLS audio rendition method is only available for HLS live inputs`",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PlayoutError",
                  "description": "Error body returned by Playout (400 and 422 responses). Always an `errors` array; each entry has a machine readable `type` and a human readable `message`.",
                  "required": [
                    "errors"
                  ],
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "title": "PlayoutErrorItem",
                        "required": [
                          "type",
                          "message"
                        ],
                        "properties": {
                          "type": {
                            "type": "string",
                            "description": "Error type, for example `bad_request`, `validation_error` or `active_hls_profile_update_error`."
                          },
                          "message": {
                            "type": "string"
                          },
                          "field": {
                            "type": "string",
                            "description": "Name of the offending field, when the error is tied to one."
                          },
                          "target": {
                            "type": "string",
                            "description": "Optional name of the nested entity the error refers to."
                          },
                          "entity": {
                            "type": "string",
                            "description": "Optional name of the entity type the error refers to."
                          },
                          "profileId": {
                            "type": "string",
                            "description": "Only on `active_{hls|udp|rtmp}_profile_update_error`: the profile that can't be updated or deleted."
                          },
                          "channels": {
                            "type": "array",
                            "description": "Only on `active_{hls|udp|rtmp}_profile_update_error`: the live channels using the profile.",
                            "items": {
                              "type": "object",
                              "title": "ProfileChannel",
                              "description": "Channel that uses a profile.",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "title": {
                                  "type": "string"
                                },
                                "status": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/scheduler/v1/channels/{id}/scheduled-maintenances/{maintenanceId}": {
      "put": {
        "summary": "Reschedule Maintenance",
        "description": "Moves the window of a pending maintenance. Only pending maintenances that start more than an hour from now can be moved. Several windows can also be moved at once with `scheduledMaintenances` on Update Channel.",
        "tags": [
          "Channels"
        ],
        "operationId": "updateChannelScheduledMaintenance",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "ID of Channel"
          },
          {
            "name": "maintenanceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "ID of the scheduled maintenance"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "title": "ScheduledMaintenanceWindowRequest",
                "type": "object",
                "description": "New window for a pending maintenance. The maintenance must start more than an hour from now, `startsAt` must be in the future and the window must be at least 1 hour long. Unlike other Playout requests, the body is not wrapped.",
                "required": [
                  "startsAt",
                  "endsAt"
                ],
                "properties": {
                  "startsAt": {
                    "type": "string",
                    "format": "date-time",
                    "description": "New start of the maintenance window (ISO 8601)"
                  },
                  "endsAt": {
                    "type": "string",
                    "format": "date-time",
                    "description": "New end of the maintenance window (ISO 8601)"
                  }
                }
              },
              "example": {
                "startsAt": "2026-11-21T04:00:00.000Z",
                "endsAt": "2026-11-21T06:00:00.000Z"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Return the rescheduled maintenance",
            "content": {
              "application/json": {
                "schema": {
                  "title": "ScheduledMaintenanceResponse",
                  "type": "object",
                  "properties": {
                    "scheduledMaintenance": {
                      "type": "object",
                      "title": "ScheduledMaintenance",
                      "description": "A maintenance window planned by the infrastructure provider for one of the channel's components. While a maintenance runs, the affected component can restart. Only upcoming (`pending`) and in-progress (`running`) maintenances are returned.",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "description": "ID of the scheduled maintenance"
                        },
                        "type": {
                          "type": "string",
                          "enum": [
                            "encoder",
                            "input-flow",
                            "destination-flow"
                          ],
                          "description": "Component affected by the maintenance: the encoder, the input flow that receives the live source, or the output flow that delivers a destination."
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "running"
                          ],
                          "description": "`pending` until the window starts, `running` while it is in progress."
                        },
                        "startsAt": {
                          "type": "string",
                          "format": "date-time",
                          "description": "Start of the maintenance window (UTC)"
                        },
                        "endsAt": {
                          "type": "string",
                          "format": "date-time",
                          "description": "End of the maintenance window (UTC)"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request (type `bad_request`), for example `startsAt is a required field`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1scheduler~1v1~1channels/post/responses/422/content/application~1json/schema"
                }
              }
            }
          },
          "404": {
            "description": "Channel or scheduled maintenance not found, for example `Can't find ScheduledMaintenance <id>`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1scheduler~1v2~1uploads/post/responses/404/content/application~1json/schema"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable entity (type `validation_error`). Possible messages:\n- `Only pending maintenances can be rescheduled`\n- `The maintenance starts in less than an hour and can no longer be rescheduled`\n- `startsAt must be in the future`\n- `The maintenance window must be at least 1 hour long`",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1scheduler~1v1~1channels/post/responses/422/content/application~1json/schema"
                }
              }
            }
          }
        }
      }
    },
    "/scheduler/v1/profiles/hls": {
      "post": {
        "summary": "Create HLS Profile",
        "description": "",
        "tags": [
          "HLS Profiles"
        ],
        "operationId": "createHlsProfile",
        "x-codegen-request-body-name": "profile",
        "requestBody": {
          "description": "",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "title": "HlsProfileRequest",
                "description": "Request body for creating or updating an HLS profile. On update, send only what changes: in every array, an item with an existing `id` is updated and an item without an `id` is created.",
                "required": [
                  "profile"
                ],
                "properties": {
                  "profile": {
                    "type": "object",
                    "title": "HlsProfileProperties",
                    "properties": {
                      "code": {
                        "type": "string",
                        "minLength": 3,
                        "maxLength": 150,
                        "description": "Determines the profile title that will be displayed in the UI."
                      },
                      "programDateTimeClock": {
                        "type": "string",
                        "enum": [
                          "INITIALIZE_FROM_OUTPUT_TIMECODE",
                          "SYSTEM_CLOCK"
                        ],
                        "description": "Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock."
                      },
                      "captionLanguageSetting": {
                        "type": "string",
                        "enum": [
                          "NONE",
                          "OMIT",
                          "INSERT"
                        ],
                        "default": "OMIT",
                        "description": "When it's set to 'INSERT' it will include CLOSED-CAPTIONS lines in the manifest, which requires at least one caption mapping and an embedded caption used by a video rendition."
                      },
                      "segmentLength": {
                        "type": "integer",
                        "enum": [
                          4,
                          6
                        ],
                        "default": 4
                      },
                      "numberOfSegments": {
                        "type": "integer",
                        "minimum": 5,
                        "default": 15
                      },
                      "enableClosedCaptions": {
                        "type": "boolean",
                        "default": true
                      },
                      "hlsCaptionMappings": {
                        "type": "array",
                        "description": "EIA channel number to language mappings. `eiaChannelNumber` must be unique per profile.",
                        "items": {
                          "type": "object",
                          "title": "HlsCaptionMapping",
                          "required": [
                            "languageCode",
                            "languageDescription"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "readOnly": true
                            },
                            "eiaChannelNumber": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 4,
                              "default": 1,
                              "description": "Specifies the 608/708 channel number within the video track from which to extract captions. Must be a number between 1 and 4, unique per profile."
                            },
                            "languageCode": {
                              "type": "string"
                            },
                            "languageDescription": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "hlsCaptionMappingsToDelete": {
                        "type": "array",
                        "description": "Ids of caption mappings to delete.",
                        "items": {
                          "type": "string"
                        }
                      },
                      "renditionGroups": {
                        "type": "array",
                        "description": "At most 1 audio per group, and every HLS video group must share the same `gopSize`. `AUDIO_ONLY` groups can't have video or a caption. A caption-only group (only `captionDescriptionName`) is allowed for WebVtt and Ttml captions. Every group needs a video, an audio or a caption.",
                        "items": {
                          "type": "object",
                          "title": "HlsRenditionGroupRequest",
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "Send the id of an existing group to update it; groups without an id are created."
                            },
                            "name": {
                              "type": "string",
                              "minLength": 3,
                              "maxLength": 150
                            },
                            "renditionType": {
                              "type": "string",
                              "enum": [
                                "STANDARD_HLS",
                                "AUDIO_ONLY"
                              ],
                              "description": "When it's set to 'AUDIO_ONLY' the rendition can only have audio tracks."
                            },
                            "captionDescriptionName": {
                              "type": "string",
                              "nullable": true,
                              "description": "Must equal the `name` of one of the profile's `captionRenditionConfigs`."
                            },
                            "video": {
                              "type": "object",
                              "title": "VideoRenditionConfig",
                              "description": "H.264 video settings of a rendition group.",
                              "required": [
                                "gopSize"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "readOnly": true
                                },
                                "renditionGroupId": {
                                  "type": "string",
                                  "readOnly": true
                                },
                                "codec": {
                                  "type": "string",
                                  "enum": [
                                    "h.264"
                                  ],
                                  "default": "h.264"
                                },
                                "codecProfile": {
                                  "type": "string",
                                  "enum": [
                                    "BASELINE",
                                    "MAIN",
                                    "HIGH",
                                    "HIGH_422",
                                    "HIGH_10BIT",
                                    "HIGH_422_10BIT"
                                  ],
                                  "default": "MAIN"
                                },
                                "codecLevel": {
                                  "type": "string",
                                  "enum": [
                                    "H264_LEVEL_AUTO",
                                    "H264_LEVEL_1",
                                    "H264_LEVEL_1_1",
                                    "H264_LEVEL_1_2",
                                    "H264_LEVEL_1_3",
                                    "H264_LEVEL_2",
                                    "H264_LEVEL_2_1",
                                    "H264_LEVEL_2_2",
                                    "H264_LEVEL_3",
                                    "H264_LEVEL_3_1",
                                    "H264_LEVEL_3_2",
                                    "H264_LEVEL_4",
                                    "H264_LEVEL_4_1",
                                    "H264_LEVEL_4_2",
                                    "H264_LEVEL_5",
                                    "H264_LEVEL_5_1",
                                    "H264_LEVEL_5_2"
                                  ],
                                  "default": "H264_LEVEL_AUTO"
                                },
                                "width": {
                                  "type": "integer",
                                  "minimum": 256,
                                  "maximum": 1920,
                                  "default": 1920,
                                  "description": "Must be an even number between 256 and 1920."
                                },
                                "height": {
                                  "type": "integer",
                                  "minimum": 144,
                                  "maximum": 1080,
                                  "default": 1080,
                                  "description": "Must be an even number between 144 and 1080."
                                },
                                "framerateNumerator": {
                                  "type": "integer",
                                  "enum": [
                                    24000,
                                    25000,
                                    30000,
                                    50000,
                                    60000
                                  ],
                                  "description": "Framerate numerator. The framerate is framerateNumerator / framerateDenominator."
                                },
                                "framerateDenominator": {
                                  "type": "integer",
                                  "enum": [
                                    1000,
                                    1001
                                  ],
                                  "description": "Framerate denominator. 1001 is only allowed with a numerator of 24000, 30000 or 60000."
                                },
                                "bitrate": {
                                  "type": "integer",
                                  "minimum": 128000,
                                  "maximum": 30000000,
                                  "description": "Average bitrate in bits/second."
                                },
                                "gopSize": {
                                  "type": "integer",
                                  "description": "GOP size (keyframe interval) in units of either frames or seconds per gopUnits. Required. Must be between 1 and 600 when gopUnits is FRAMES, and between 1 and 10 when it is SECONDS."
                                },
                                "gopUnits": {
                                  "type": "string",
                                  "enum": [
                                    "FRAMES",
                                    "SECONDS"
                                  ],
                                  "default": "FRAMES",
                                  "description": "Indicates if the gopSize is specified in frames or seconds."
                                },
                                "scalingBehavior": {
                                  "type": "string",
                                  "enum": [
                                    "DEFAULT",
                                    "STRETCH_TO_OUTPUT"
                                  ],
                                  "description": "STRETCH_TO_OUTPUT configures the output position to stretch the video to the specified output resolution (height and width). This option will override any position value. DEFAULT may insert black boxes (pillar boxes or letter boxes) around the video to provide the specified output resolution."
                                },
                                "bFrames": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 7,
                                  "default": 3,
                                  "description": "Number of B-frames between reference frames. Must be 0 when codecProfile is BASELINE."
                                },
                                "bFrameReference": {
                                  "type": "string",
                                  "enum": [
                                    "ENABLED",
                                    "DISABLED"
                                  ],
                                  "default": "ENABLED",
                                  "description": "If enabled, use reference B frames for GOP structures that have B frames > 1."
                                },
                                "entropyEncoding": {
                                  "type": "string",
                                  "enum": [
                                    "CABAC",
                                    "CAVLC"
                                  ],
                                  "default": "CABAC",
                                  "description": "Entropy encoding mode for the H.264 stream. CABAC is only valid with MAIN or HIGH codec profiles; BASELINE requires CAVLC."
                                },
                                "adaptiveQuantization": {
                                  "type": "string",
                                  "enum": [
                                    "AUTO",
                                    "OFF",
                                    "LOW",
                                    "MEDIUM",
                                    "HIGH",
                                    "HIGHER",
                                    "MAX"
                                  ],
                                  "default": "HIGH"
                                },
                                "lookAheadRateControl": {
                                  "type": "string",
                                  "enum": [
                                    "LOW",
                                    "MEDIUM",
                                    "HIGH"
                                  ],
                                  "default": "HIGH",
                                  "description": "Amount of lookahead."
                                },
                                "parControl": {
                                  "type": "string",
                                  "enum": [
                                    "SPECIFIED",
                                    "INITIALIZE_FROM_SOURCE"
                                  ],
                                  "default": "SPECIFIED",
                                  "description": "This field indicates how the output pixel aspect ratio is specified. If 'SPECIFIED' is selected then the output video pixel aspect ratio is determined by parNumerator and parDenominator, else if 'INITIALIZE_FROM_SOURCE' is selected then the output pixel aspect ratio will be set equal to the input video pixel aspect ratio of the first input."
                                },
                                "scanType": {
                                  "type": "string",
                                  "enum": [
                                    "PROGRESSIVE",
                                    "INTERLACED"
                                  ],
                                  "default": "PROGRESSIVE"
                                },
                                "forceFieldPictures": {
                                  "type": "string",
                                  "enum": [
                                    "ENABLED",
                                    "DISABLED"
                                  ],
                                  "default": "DISABLED"
                                },
                                "slices": {
                                  "type": "integer",
                                  "minimum": 1,
                                  "maximum": 32,
                                  "nullable": true,
                                  "description": "Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures. Optional; when no value is specified the encoder will choose the number of slices based on encode resolution."
                                },
                                "refFrames": {
                                  "type": "integer",
                                  "minimum": 1,
                                  "maximum": 6,
                                  "default": 3,
                                  "description": "Number of reference frames to use."
                                },
                                "createdAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "readOnly": true
                                },
                                "updatedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "readOnly": true
                                }
                              }
                            },
                            "audios": {
                              "type": "array",
                              "description": "Audio configs of the group. An item with an existing `id` is updated and an item without an `id` is created.",
                              "items": {
                                "type": "object",
                                "title": "AudioRenditionConfig",
                                "description": "Audio settings of a rendition group.",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "readOnly": true
                                  },
                                  "renditionGroupId": {
                                    "type": "string",
                                    "readOnly": true
                                  },
                                  "bitrate": {
                                    "type": "integer",
                                    "minimum": 96000,
                                    "maximum": 320000,
                                    "default": 128000,
                                    "description": "Average bitrate in bits/second."
                                  },
                                  "sampleRate": {
                                    "type": "integer",
                                    "enum": [
                                      44100,
                                      48000
                                    ],
                                    "default": 48000,
                                    "description": "Sample rate in Hz."
                                  },
                                  "codecSettings": {
                                    "type": "string",
                                    "enum": [
                                      "AAC",
                                      "AC3",
                                      "SKIP"
                                    ],
                                    "default": "AAC"
                                  },
                                  "audioNormalization": {
                                    "type": "boolean",
                                    "default": true,
                                    "description": "Enable advanced audio normalization settings."
                                  },
                                  "algorithm": {
                                    "type": "string",
                                    "enum": [
                                      "ITU_1770_1",
                                      "ITU_1770_2"
                                    ],
                                    "default": "ITU_1770_1",
                                    "description": "Loudness measurement algorithm used when audioNormalization is enabled."
                                  },
                                  "target": {
                                    "type": "integer",
                                    "minimum": -59,
                                    "maximum": 0,
                                    "default": -24,
                                    "description": "Loudness target, in LKFS, used when audioNormalization is enabled."
                                  },
                                  "languageCode": {
                                    "type": "string",
                                    "nullable": true,
                                    "description": "Three-letter ISO 639 language code."
                                  },
                                  "position": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "description": "Order of the audio within its rendition group. Appended at the end when omitted."
                                  },
                                  "audioSelectorName": {
                                    "type": "string",
                                    "nullable": true,
                                    "description": "Name of one of the profile's `audioSelectors`. Null means the input's default audio is used."
                                  },
                                  "streamName": {
                                    "type": "string",
                                    "nullable": true,
                                    "description": "HLS rendition NAME shown to players."
                                  },
                                  "hlsSettings": {
                                    "type": "object",
                                    "title": "AudioHlsSettings",
                                    "description": "HLS only; not allowed on UDP or RTMP profiles.\n- In a group with video, both values must be `omit`.\n- Across audio-only groups, at most one `yes` per flag, and not every value can be `no`.",
                                    "properties": {
                                      "autoSelect": {
                                        "type": "string",
                                        "enum": [
                                          "yes",
                                          "no",
                                          "omit"
                                        ]
                                      },
                                      "default": {
                                        "type": "string",
                                        "enum": [
                                          "yes",
                                          "no",
                                          "omit"
                                        ]
                                      }
                                    }
                                  },
                                  "createdAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "readOnly": true
                                  },
                                  "updatedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "readOnly": true
                                  }
                                }
                              }
                            },
                            "audiosToDelete": {
                              "type": "array",
                              "description": "Update only. Ids of the audio configs to delete.",
                              "items": {
                                "type": "string"
                              }
                            },
                            "configsToDelete": {
                              "type": "array",
                              "description": "Update only, HLS only. Send `[\"video\"]` to remove the video config of the group.",
                              "items": {
                                "type": "string",
                                "enum": [
                                  "video"
                                ]
                              }
                            }
                          }
                        }
                      },
                      "captionSelectors": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "title": "CaptionSelector",
                          "description": "Where the encoder reads captions from in the input. Profile-only: live inputs don't have caption selectors. Deleting a selector also removes the captions that use it.",
                          "required": [
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string",
                              "pattern": "^[A-Za-z0-9_-]+$",
                              "description": "Unique within the profile."
                            },
                            "captionType": {
                              "type": "string",
                              "enum": [
                                "Embedded"
                              ]
                            },
                            "languageCode": {
                              "type": "string",
                              "nullable": true
                            },
                            "selectorSettings": {
                              "type": "object",
                              "title": "CaptionSelectorSettings",
                              "description": "All keys are optional; no other keys are allowed.",
                              "properties": {
                                "channelNumber": {
                                  "type": "integer",
                                  "minimum": 1,
                                  "maximum": 4
                                },
                                "trackNumber": {
                                  "type": "integer",
                                  "minimum": 1,
                                  "maximum": 5
                                },
                                "convert608To708": {
                                  "type": "string",
                                  "enum": [
                                    "UPCONVERT",
                                    "DISABLED"
                                  ]
                                },
                                "scte20Detection": {
                                  "type": "string",
                                  "enum": [
                                    "AUTO",
                                    "OFF"
                                  ]
                                }
                              }
                            }
                          }
                        }
                      },
                      "captionRenditionConfigs": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "title": "CaptionRenditionConfig",
                          "description": "A caption output of the profile. Deleting a caption clears `captionDescriptionName` on the rendition groups that use it and removes the caption-only groups. Rendition groups reference a caption by its `name` through `captionDescriptionName`.",
                          "required": [
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string",
                              "description": "`playout_caption` is reserved."
                            },
                            "captionType": {
                              "type": "string",
                              "enum": [
                                "Embedded",
                                "WebVtt",
                                "Ttml"
                              ],
                              "default": "Embedded",
                              "description": "WebVtt and Ttml are only supported on HLS profiles."
                            },
                            "captionSelectorName": {
                              "type": "string",
                              "description": "Name of one of the profile's `captionSelectors`."
                            },
                            "captionSettings": {
                              "type": "object",
                              "title": "CaptionSettings",
                              "properties": {
                                "styleControl": {
                                  "type": "string",
                                  "enum": [
                                    "PASSTHROUGH",
                                    "NO_STYLE_DATA",
                                    "USE_CONFIGURED"
                                  ],
                                  "description": "WebVtt accepts PASSTHROUGH and NO_STYLE_DATA. Ttml accepts PASSTHROUGH and USE_CONFIGURED."
                                }
                              }
                            },
                            "additionalSettings": {
                              "type": "object",
                              "title": "CaptionAdditionalSettings",
                              "description": "Subtitle track language, for WebVtt and Ttml captions.",
                              "properties": {
                                "languageCode": {
                                  "type": "string"
                                },
                                "languageDescription": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      },
                      "audioSelectors": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "title": "AudioSelector",
                          "description": "Tells the encoder which audio of the input to use. Shared by profiles and live input sources. `hls-rendition` isn't allowed on profiles, and it is only allowed on live inputs whose protocol is `hls`.",
                          "required": [
                            "name"
                          ],
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string",
                              "pattern": "^[A-Za-z0-9_-]+$",
                              "description": "Unique per owner (profile or live input source)."
                            },
                            "selectorType": {
                              "type": "string",
                              "nullable": true,
                              "enum": [
                                "pid",
                                "track",
                                "language",
                                "hls-rendition"
                              ],
                              "description": "Null means \"don't specify\"."
                            },
                            "settings": {
                              "type": "object",
                              "title": "AudioSelectorSettings",
                              "description": "Exactly the keys for the selector type, all of them required:\n- `pid`: `{pid}`, an integer between 32 and 8190\n- `track`: `{track}`, an integer greater than or equal to 1\n- `language`: `{languageCode, languagePolicy}`, for example `eng` and `strict` or `loose`\n- `hls-rendition`: `{groupId, name}`\n- null selectorType: `{}`",
                              "properties": {
                                "pid": {
                                  "type": "integer",
                                  "minimum": 32,
                                  "maximum": 8190
                                },
                                "track": {
                                  "type": "integer",
                                  "minimum": 1
                                },
                                "languageCode": {
                                  "type": "string",
                                  "description": "Three-letter ISO 639 code."
                                },
                                "languagePolicy": {
                                  "type": "string",
                                  "enum": [
                                    "strict",
                                    "loose"
                                  ]
                                },
                                "groupId": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              }
                            },
                            "ownerId": {
                              "type": "string",
                              "readOnly": true
                            },
                            "ownerType": {
                              "type": "string",
                              "readOnly": true
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "readOnly": true
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "readOnly": true
                            }
                          }
                        }
                      },
                      "renditionGroupsToDelete": {
                        "type": "array",
                        "description": "Ids of rendition groups to delete.",
                        "items": {
                          "type": "string"
                        }
                      },
                      "captionSelectorsToDelete": {
                        "type": "array",
                        "description": "Ids of caption selectors to delete. Their captions are deleted too.",
                        "items": {
                          "type": "string"
                        }
                      },
                      "captionRenditionConfigsToDelete": {
                        "type": "array",
                        "description": "Ids of captions to delete.",
                        "items": {
                          "type": "string"
                        }
                      },
                      "audioSelectorsToDelete": {
                        "type": "array",
                        "description": "Ids of audio selectors to delete.",
                        "items": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "HLS Profile created",
            "content": {
              "application/json": {
                "schema": {
                  "title": "HlsProfileResponse",
                  "type": "object",
                  "properties": {
                    "profile": {
                      "type": "object",
                      "title": "HlsProfile",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "siteId": {
                          "type": "string"
                        },
                        "code": {
                          "type": "string",
                          "minLength": 3,
                          "maxLength": 150,
                          "description": "Determines the profile title that will be displayed in the UI."
                        },
                        "externalId": {
                          "type": "string",
                          "nullable": true,
                          "readOnly": true,
                          "description": "Identifier of this profile in Zype Live (CMS)"
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "readOnly": true,
                          "description": "Not present on global profiles."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "readOnly": true,
                          "description": "Not present on global profiles."
                        },
                        "global": {
                          "type": "boolean",
                          "readOnly": true,
                          "description": "Specifies whether the profile is global (read-only, shared by every site) or scoped by site."
                        },
                        "channels": {
                          "type": "array",
                          "readOnly": true,
                          "description": "Channels that use this profile.",
                          "items": {
                            "type": "object",
                            "title": "HlsChannel",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string"
                              },
                              "channelSetting": {
                                "type": "object",
                                "title": "ChannelSetting",
                                "properties": {
                                  "hlsProfileId": {
                                    "type": "string"
                                  },
                                  "customProfileSettingsVisible": {
                                    "type": "boolean"
                                  },
                                  "customProfileSettingsAllowed": {
                                    "type": "boolean"
                                  },
                                  "scteMessageFormat": {
                                    "type": "string",
                                    "enum": [
                                      "TIME_SIGNAL",
                                      "SPLICE_INSERT"
                                    ]
                                  },
                                  "scteProgramIdSource": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          }
                        },
                        "programDateTimeClock": {
                          "type": "string",
                          "enum": [
                            "INITIALIZE_FROM_OUTPUT_TIMECODE",
                            "SYSTEM_CLOCK"
                          ],
                          "description": "Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock."
                        },
                        "captionLanguageSetting": {
                          "type": "string",
                          "enum": [
                            "NONE",
                            "OMIT",
                            "INSERT"
                          ],
                          "default": "OMIT",
                          "description": "When it's set to 'INSERT' it will include CLOSED-CAPTIONS lines in the manifest, which requires at least one caption mapping and an embedded caption used by a video rendition."
                        },
                        "segmentLength": {
                          "type": "integer",
                          "enum": [
                            4,
                            6
                          ],
                          "default": 4,
                          "description": "Segment length in seconds."
                        },
                        "numberOfSegments": {
                          "type": "integer",
                          "minimum": 5,
                          "default": 15,
                          "description": "Number of segments kept in the manifest."
                        },
                        "enableClosedCaptions": {
                          "type": "boolean",
                          "default": true
                        },
                        "hlsCaptionMappings": {
                          "type": "array",
                          "description": "EIA channel number to language mappings. `eiaChannelNumber` must be unique per profile.",
                          "items": {
                            "$ref": "#/paths/~1scheduler~1v1~1profiles~1hls/post/requestBody/content/application~1json/schema/properties/profile/properties/hlsCaptionMappings/items"
                          }
                        },
                        "renditionGroups": {
                          "type": "array",
                          "description": "At most 1 audio per group, and every HLS video group must share the same `gopSize`. `AUDIO_ONLY` groups can't have video or a caption. A caption-only group (only `captionDescriptionName`) is allowed for WebVtt and Ttml captions. Every group needs a video, an audio or a caption.",
                          "items": {
                            "type": "object",
                            "title": "HlsRenditionGroup",
                            "description": "Rendition group for an HLS profile. At most 1 audio per group, and every HLS video group must share the same `gopSize`. `AUDIO_ONLY` groups can't have video or a caption. A caption-only group (only `captionDescriptionName`) is allowed for WebVtt and Ttml captions. Every group needs a video, an audio or a caption.",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string",
                                "minLength": 3,
                                "maxLength": 150
                              },
                              "renditionType": {
                                "type": "string",
                                "enum": [
                                  "STANDARD_HLS",
                                  "AUDIO_ONLY"
                                ],
                                "description": "When it's set to 'AUDIO_ONLY' the rendition can only have audio tracks."
                              },
                              "captionDescriptionName": {
                                "type": "string",
                                "nullable": true,
                                "description": "Must equal the `name` of one of the profile's `captionRenditionConfigs`."
                              },
                              "profileId": {
                                "type": "string",
                                "readOnly": true
                              },
                              "profileType": {
                                "type": "string",
                                "readOnly": true
                              },
                              "createdAt": {
                                "type": "string",
                                "format": "date-time",
                                "readOnly": true
                              },
                              "updatedAt": {
                                "type": "string",
                                "format": "date-time",
                                "readOnly": true
                              },
                              "videoRenditionConfig": {
                                "description": "Absent or null when the group has no video.",
                                "allOf": [
                                  {
                                    "$ref": "#/paths/~1scheduler~1v1~1profiles~1hls/post/requestBody/content/application~1json/schema/properties/profile/properties/renditionGroups/items/properties/video"
                                  }
                                ]
                              },
                              "audioRenditionConfigs": {
                                "type": "array",
                                "description": "Ordered by `position`.",
                                "items": {
                                  "$ref": "#/paths/~1scheduler~1v1~1profiles~1hls/post/requestBody/content/application~1json/schema/properties/profile/properties/renditionGroups/items/properties/audios/items"
                                }
                              }
                            }
                          }
                        },
                        "captionSelectors": {
                          "type": "array",
                          "items": {
                            "$ref": "#/paths/~1scheduler~1v1~1profiles~1hls/post/requestBody/content/application~1json/schema/properties/profile/properties/captionSelectors/items"
                          }
                        },
                        "captionRenditionConfigs": {
                          "type": "array",
                          "items": {
                            "$ref": "#/paths/~1scheduler~1v1~1profiles~1hls/post/requestBody/content/application~1json/schema/properties/profile/properties/captionRenditionConfigs/items"
                          }
                        },
                        "audioSelectors": {
                          "type": "array",
                          "items": {
                            "$ref": "#/paths/~1scheduler~1v1~1profiles~1hls/post/requestBody/content/application~1json/schema/properties/profile/properties/audioSelectors/items"
                          }
                        }
                      }
                    }
                  },
                  "example": {
                    "profile": {
                      "id": "5b1c...",
                      "code": "My HLS",
                      "siteId": "site1",
                      "externalId": null,
                      "segmentLength": 4,
                      "numberOfSegments": 15,
                      "programDateTimeClock": "INITIALIZE_FROM_OUTPUT_TIMECODE",
                      "captionLanguageSetting": "INSERT",
                      "enableClosedCaptions": true,
                      "createdAt": "2026-10-21T12:00:00.000Z",
                      "updatedAt": "2026-10-21T12:00:00.000Z",
                      "global": false,
                      "renditionGroups": [
                        {
                          "id": "g1",
                          "name": "1080p30",
                          "renditionType": "STANDARD_HLS",
                          "captionDescriptionName": "embedded_caption",
                          "videoRenditionConfig": {
                            "id": "v1",
                            "codec": "h.264",
                            "codecProfile": "MAIN",
                            "codecLevel": "H264_LEVEL_4_1",
                            "width": 1920,
                            "height": 1080,
                            "framerateNumerator": 30000,
                            "framerateDenominator": 1000,
                            "bitrate": 4000000,
                            "gopSize": 60,
                            "gopUnits": "FRAMES",
                            "bFrames": 3,
                            "adaptiveQuantization": "HIGH",
                            "lookAheadRateControl": "HIGH",
                            "scanType": "PROGRESSIVE",
                            "forceFieldPictures": "DISABLED",
                            "refFrames": 3
                          },
                          "audioRenditionConfigs": [
                            {
                              "id": "a1",
                              "bitrate": 192000,
                              "sampleRate": 48000,
                              "codecSettings": "AAC",
                              "audioNormalization": true,
                              "algorithm": "ITU_1770_1",
                              "target": -24,
                              "languageCode": "eng",
                              "position": 0,
                              "audioSelectorName": null,
                              "streamName": "English",
                              "hlsSettings": {}
                            }
                          ]
                        },
                        {
                          "id": "g2",
                          "name": "Spanish",
                          "renditionType": "AUDIO_ONLY",
                          "captionDescriptionName": null,
                          "audioRenditionConfigs": [
                            {
                              "id": "a2",
                              "bitrate": 128000,
                              "sampleRate": 48000,
                              "codecSettings": "AAC",
                              "languageCode": "spa",
                              "position": 0,
                              "audioSelectorName": "spanish_track",
                              "streamName": "Español",
                              "hlsSettings": {
                                "autoSelect": "yes",
                                "default": "yes"
                              }
                            }
                          ]
                        }
                      ],
                      "captionSelectors": [
                        {
                          "id": "cs1",
                          "name": "embedded_caption_selector",
                          "captionType": "Embedded",
                          "languageCode": null,
                          "selectorSettings": {
                            "channelNumber": 1,
                            "trackNumber": 1,
                            "convert608To708": "UPCONVERT",
                            "scte20Detection": "AUTO"
                          }
                        }
                      ],
                      "captionRenditionConfigs": [
                        {
                          "id": "c1",
                          "name": "embedded_caption",
                          "captionType": "Embedded",
                          "captionSelectorName": "embedded_caption_selector",
                          "captionSettings": {},
                          "additionalSettings": {}
                        },
                        {
                          "id": "c2",
                          "name": "webvtt_caption",
                          "captionType": "WebVtt",
                          "captionSelectorName": "embedded_caption_selector",
                          "captionSettings": {
                            "styleControl": "PASSTHROUGH"
                          },
                          "additionalSettings": {
                            "languageCode": "eng",
                            "languageDescription": "English"
                          }
                        }
                      ],
                      "audioSelectors": [
                        {
                          "id": "as1",
                          "name": "spanish_track",
                          "selectorType": "track",
                          "settings": {
                            "track": 2
                          }
                        }
                      ],
                      "hlsCaptionMappings": [
                        {
                          "id": "m1",
                          "eiaChannelNumber": 1,
                          "languageCode": "eng",
                          "languageDescription": "English"
                        }
                      ],
                      "channels": [
                        {
                          "id": "ch1",
                          "title": "News",
                          "status": "live",
                          "channelSetting": {
                            "hlsProfileId": "5b1c...",
                            "customProfileSettingsVisible": true,
                            "customProfileSettingsAllowed": true,
                            "scteMessageFormat": "TIME_SIGNAL",
                            "scteProgramIdSource": null
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request. For example a missing `profile` payload (`{\"errors\":[{\"type\":\"bad_request\",\"message\":\"Missing payload: profile\"}]}`) or a field with the wrong JSON type: values are not coerced.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1scheduler~1v1~1channels/post/responses/422/content/application~1json/schema"
                }
              }
            }
          },
          "422": {
            "description": "Validation error. Possible messages include:\n- `A profile that inserts captions needs at least one caption mapping`\n- `A profile that inserts captions needs an embedded caption used by a video rendition`\n- `Caption mappings must use different EIA channel numbers (repeated: 1)`\n- `Rendition groups reference the caption \"x\", which doesn't exist in this profile`\n- `Caption \"x\" references the caption selector \"y\", which doesn't exist in this profile`\n- `Caption selector names must be unique within a profile (repeated: \"x\")`\n- `Unknown pidSettings keys: x`\n- `PIDs overlap between videoPid and audioPids`\n- `audioPids has 1 PIDs but the rendition group has 2 audio configs`\n- `pidSettings are only supported for UDP rendition groups`\n- `UDP profile can only have one rendition group`\n- `UDP profiles only support Embedded captions (caption \"x\")`",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1scheduler~1v1~1channels/post/responses/422/content/application~1json/schema"
                }
              }
            }
          }
        }
      }
    },
    "/scheduler/v1/types": {
      "get": {
        "summary": "List Destination Types",
        "description": "",
        "operationId": "getDestinationTypes",
        "tags": [
          "Destinations"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "Page number to return, with per_page dictating page size"
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "Number of records to return per page"
          }
        ],
        "responses": {
          "200": {
            "description": "Destination Types response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "DestinationTypesResponse",
                  "type": "object",
                  "properties": {
                    "destinationTypes": {
                      "type": "array",
                      "items": {
                        "$ref": "#/paths/~1scheduler~1v1~1types~1{id}/get/responses/200/content/application~1json/schema/properties/destinationType"
                      },
                      "description": ""
                    },
                    "pagination": {
                      "title": "PlayoutSchedulerPagination",
                      "type": "object",
                      "properties": {
                        "perPage": {
                          "type": "number",
                          "format": "int32",
                          "description": "the number of results returned per page"
                        },
                        "page": {
                          "type": "number",
                          "format": "int32",
                          "description": "The current page of results"
                        },
                        "totalPages": {
                          "type": "number",
                          "format": "int32",
                          "description": "the total number of pages available, using per_page"
                        },
                        "count": {
                          "type": "number",
                          "format": "int32",
                          "description": "the quantity of results on the current page"
                        }
                      },
                      "example": {
                        "perPage": 100,
                        "page": 1,
                        "totalPages": 3,
                        "count": 100
                      }
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Unprocessable Entity",
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "X-API-Key",
        "in": "header"
      }
    }
  }
}
```