Scripted Schedule API
Reference for the ErsatzTV Scripted Schedule API — used by agents to build channel schedules programmatically.
Architecture
Agent ──POST──→ ErsatzTV (Pi4:8409) ──→ Jellyfin media
│
└── /api/scripted/playout/build/{buildId}/*
Every endpoint shares a {buildId} path param (UUID). The
build represents one channel’s schedule-under-construction. You get the
buildId when you create a channel with a Scripted Schedule
type (via the ErsatzTV web UI — there is no API endpoint to create
channels).