List scheduled events
https://octopus.livepush.io/streams/{stream_id}/config/scheduler/events
Base URL https://octopus.livepush.io — Core Streams & Media APIs
Lists the stream's events, newest first: upcoming, running and finished.
Paging is by cursor. When hasMore is true, pass
nextCursor.before and nextCursor.beforeId back as the before and
beforeId query parameters for the next page. nextCursor is null
on the last page.
An event is upcoming when awaiting is true, on air when isActive
is true, and finished when isArchived is true.
Requires a token with the streams.read scope.
Authorization
Send a valid access token in the Authorization header.
bearerAuth— Bearer token (JWT)
Authorization: Bearer YOUR_API_TOKEN
Try it
Loading the request builder…
GET
https://octopus.livepush.io/streams/{stream_id}/config/scheduler/events
— This call only reads data.
Parameters
Path parameters
-
stream_idstring requiredUnique identifier of the pre-recorded live stream
Query parameters
-
limitintegerPage size. Defaults to 50, capped at 200.example: 50 -
beforestring<date-time>Cursor fromnextCursor.before. Returns events older than this. -
beforeIdstringCursor fromnextCursor.beforeId. Breaks ties between events with the same start time.
Code samples
curl -X GET 'https://octopus.livepush.io/streams/<stream_id>/config/scheduler/events' \
-H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://octopus.livepush.io/streams/<stream_id>/config/scheduler/events', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
},
});
if (!response.ok) {
throw new Error(`Livepush API error ${response.status}`);
}
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
}
response = requests.get('https://octopus.livepush.io/streams/<stream_id>/config/scheduler/events', headers=headers, timeout=30)
response.raise_for_status()
data = response.json()
Responses
One page of events
-
eventsScheduledEvent[]-
idstring -
labelstring -
immediateStartboolean -
datetimestring<date-time> -
datetimeEndstring<date-time> -
datetimeEndExplicitboolean -
repeatCountinteger -
videosstring[] -
loopboolean -
isActiveboolean -
isArchivedboolean -
runtimeintegerRuntime in seconds -
immediateEndboolean -
finishedAtinteger -
preciseStartboolean -
revisioninteger -
streamstring -
userstring -
awaitingboolean
-
-
hasMoreboolean -
nextCursorobjectnullable-
beforestring<date-time> -
beforeIdstring
-
{
"events": [
{
"id": "ev_xxxxxxxxx",
"label": "Morning session 09:00",
"datetime": "2026-12-03T04:00:00.000Z",
"datetimeEnd": "2026-12-03T04:59:00.000Z",
"runtime": 3540000,
"videos": [
"Xk2fP9qLm"
],
"repeatCount": 1,
"awaiting": true,
"isActive": false,
"stream": "st_xxxxxxxxxxxxx"
},
{
"id": "ev_yyyyyyyyy",
"label": "Evening session 18:00",
"datetime": "2026-12-02T13:00:00.000Z",
"datetimeEnd": "2026-12-02T13:59:00.000Z",
"runtime": 3540000,
"videos": [
"Xk2fP9qLm"
],
"repeatCount": 1,
"awaiting": false,
"isActive": false,
"isArchived": true,
"stream": "st_xxxxxxxxxxxxx"
}
],
"hasMore": true,
"nextCursor": {
"before": "2026-12-02T13:00:00.000Z",
"beforeId": "ev_yyyyyyyyy"
}
}
Unknown stream, or an invalid before cursor
Unauthorized