Streams

Renew stream lease

Changed on

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

Request

  • Base URL
    https://api.overshoot.ai/v1beta
  • Auth
    HTTP bearer

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
}

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • info

      added to the response property allOf list for the response status