Keepalive
Renew a Stream lease and pay for elapsed streaming time on the deprecated v0.2 API, calling every 10 to 20 seconds to avoid expiry.
Authorizations
Provide your API key in the Authorization header as 'Bearer <api_key>'
Path Parameters
Response
Lease renewed, credits charged
Keepalive response with billing summary. Streams expire after TTL seconds without a keepalive.
"ok"Stream identifier
Seconds until stream expires without another keepalive
Credits remaining after this charge (in cents)
Credits charged for this keepalive interval (in cents)
Seconds of streaming time charged
Current stream state: pending (no frames yet), active (inferencing), idle (frames stopped)
pending, active, idle Refreshed LiveKit JWT for native sources. Use this to maintain the connection.