# List scheduled events
`GET https://octopus.livepush.io/streams/{stream_id}/config/scheduler/events`
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.
- **Tag:** Stream Scheduler
- **Operation ID:** `getStreamsStreamIdConfigSchedulerEvents`
- **Authentication:** Bearer token required
- **Docs:** https://developers.livepush.io/stream-scheduler/list-scheduled-events/

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `stream_id` | string | yes | Unique identifier of the pre-recorded live stream |


### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | integer | no | Page size. Defaults to 50, capped at 200. |
| `before` | string<date-time> | no | Cursor from nextCursor.before. Returns events older than this. |
| `beforeId` | string | no | Cursor from nextCursor.beforeId. Breaks ties between events with the same start time. |


### Example request

```bash
curl -X GET 'https://octopus.livepush.io/streams/<stream_id>/config/scheduler/events' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
```


### Responses


#### 200 — One page of events

- `events` (ScheduledEvent[])
  - `id` (string)
  - `label` (string)
  - `immediateStart` (boolean)
  - `datetime` (string<date-time>)
  - `datetimeEnd` (string<date-time>)
  - `datetimeEndExplicit` (boolean)
  - `repeatCount` (integer)
  - `videos` (string[])
  - `loop` (boolean)
  - `isActive` (boolean)
  - `isArchived` (boolean)
  - `runtime` (integer) — Runtime in seconds
  - `immediateEnd` (boolean)
  - `finishedAt` (integer)
  - `preciseStart` (boolean)
  - `revision` (integer)
  - `stream` (string)
  - `user` (string)
  - `awaiting` (boolean)
- `hasMore` (boolean)
- `nextCursor` (object)
  - `before` (string<date-time>)
  - `beforeId` (string)


```json
{
  "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"
  }
}
```


#### 400 — Unknown stream, or an invalid before cursor


#### 401 — Unauthorized

