Sample - OpenAI API
POST/live/sessions/{session_id}/fork

Fork session

Fork a stored Live session onto a new WebRTC connection.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter · 2 body fields
session_idstringrequired
The ID of the stored Live session to fork.
sessionobjectoptional
Optional configuration overrides for the new Live session. Omit this object or send an empty object to inherit the stored session's settings.
transportobjectrequired
WebRTC transport with an SDP offer for the new connection to the forked session.

1 status code
201Forked Live session created with a WebRTC answer.
sessionobjectrequired
The newly created Live session. Use its ID for session controls and sideband connections.
transportobjectrequired
WebRTC transport with the SDP answer.