Error
A valid request URL is required to generate request examples{
"status": "ok",
"stream_id": "<string>",
"ttl_seconds": 123,
"credits_remaining_cents": 123,
"cost_cents": 123,
"seconds_charged": 123,
"state": "pending",
"livekit_token": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"details": null
}{
"error": "<string>",
"request_id": "<string>",
"details": null
}{
"error": "<string>",
"request_id": "<string>",
"details": null
}{
"error": "<string>",
"request_id": "<string>",
"details": null
}{
"error": "<string>",
"request_id": "<string>",
"details": null
}{
"error": "<string>",
"request_id": "<string>",
"details": null
}Streams
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.
POST
/
streams
/
{stream_id}
/
keepalive
Error
A valid request URL is required to generate request examples{
"status": "ok",
"stream_id": "<string>",
"ttl_seconds": 123,
"credits_remaining_cents": 123,
"cost_cents": 123,
"seconds_charged": 123,
"state": "pending",
"livekit_token": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"details": null
}{
"error": "<string>",
"request_id": "<string>",
"details": null
}{
"error": "<string>",
"request_id": "<string>",
"details": null
}{
"error": "<string>",
"request_id": "<string>",
"details": null
}{
"error": "<string>",
"request_id": "<string>",
"details": null
}{
"error": "<string>",
"request_id": "<string>",
"details": null
}The v0.2 API is deprecated. New integrations should use v1.
Authorizations
Response
Lease renewed, credits charged
Keepalive response with billing summary. Streams expire after TTL seconds without a keepalive.