Recorded LIVE sessions
live_sessionsRetrieve paginated LIVE sessions for your watchlist and tracked rooms, filtered by date range, creator handle, live status, duration or diamonds, then sorted by start time, duration, diamonds, peak viewers or gifts.
Instructions
One page of LIVE sessions recorded for the workspace's watchlist and tracked rooms, newest first by default (a running session has endedAt: null and comes first on the first page). Filter by time range, handle, status, minimum duration or diamonds and sort by started, duration, diamonds, peak or gifts; a session counts in the range it started in. Pass nextCursor as cursor (same filters) for the next page. Needs API key scope live:read. Costs credits from the workspace wallet (billed as a cached read). Returns the API answer as JSON, with provenance (freshness, coverage, source).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "live_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Part of the creator handle (with or without `@`). | |
| to | No | Range end: a local day `YYYY-MM-DD` (included) or an ISO 8601 instant (excluded), at most 400 days after `from`. Give `from` and `to` together, both days or both instants. | |
| from | No | Range start: a local day `YYYY-MM-DD` of the workspace time zone (included) or an ISO 8601 instant. Give `from` and `to` together, both days or both instants. | |
| sort | No | Sort key (default `started`). | |
| limit | No | Sessions per page, 1–100 (default 50). | |
| order | No | Sort direction (default `desc`). | |
| scope | No | `1h`, `today` (from midnight in the workspace time zone), `7d`, `30d`, `all`, or `range` with `from` and `to`. Without it: the whole history window. | |
| cursor | No | Opaque cursor from `nextCursor` of the previous page. | |
| status | No | `live`: still running; `ended`: recorded and finished. | |
| minDiamonds | No | Only sessions with at least this many diamonds. | |
| minDuration | No | Only sessions of at least this many seconds. | |
| creatorUniqueId | No | Only this creator (handle without `@`). |