v1

latestOpenAPI 3.0.32026-07-22112930.0 KB
Streams

Renew stream lease

Renews the stream lease and returns a fresh publish token. Clients should renew before the 5-minute lease expires, for example every 4 minutes, and pass the returned token to the LiveKit SDK with room.updateToken(...).

post/streams/{stream_id}/keepalive

Response

Lease renewed.

idstring uuid required
expires_at_msinteger required
ttl_secondsinteger required
stream_time_msnumber

Current stream-clock position in ms.

Example response

{
  "ttl_seconds": 300
}