Realtime

Release a session's capacity lease

Releases a held capacity lease immediately (client beacon on tab-close, terminal disconnect, or a superseded reconnect) so the GPU slot is freed instead of lingering until its TTL. Idempotent.

Requires an API key with the realtime:write scope.

post/v1/realtime/livekit/session/release

Request

  • Base URL: https://realtimeavatar.ai/api
  • URL: https://realtimeavatar.ai/api/v1/realtime/livekit/session/release
  • Auth: HTTP bearer

Request body

session_idstring
queue_ticket_idstring
reason'page_hide' | 'disconnected' | 'superseded' | 'unmount' | 'manual' | 'idle_timeout'
capacity_poolstring

Response

Released

okboolean required

Changes

No recorded changes to this operation across all 2 revisions of this API.