Stream
Get stream rotation history
GET
https://api.tunio.ai/ v1/ stream/ {stream_id}/ historyReturns what aired on the stream, most recent first, one page at a time. Overlay jingles and silence filler are not recorded. Announcements are listed with track_id set to the announcement_id, so filtering by kind=announcement and a from/to window tells whether a given announcement aired, and when; content dropped without airing (for example because a live broadcast had the air) is not listed.
Path parameters
| Name | Type | Description |
|---|---|---|
| stream_idRequired | string | Stream UUID |
Query parameters
| Name | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 |
| per_page | integer | Items per page, 1-100 |
| kind | string | Only these kinds, comma separated: music, jingle, announcement, podcast, news, weather, time, story |
| from | string | Only items that started at or after this time, RFC 3339 |
| to | string | Only items that started before this time, RFC 3339 |
Responses
| Name | Type | Description |
|---|---|---|
| items | array | Played items, most recent first. |
| [item]Required | object | - |
| pagination | object | Page metadata. |
| page | integer | Current page, starting from 1. |
| per_page | integer | Page size actually applied (1..100). |
| total | integer | Total number of history entries. |
| success | boolean | Always true. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |